-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inline problems at -O0 #11
Comments
All of the inline-defined functions are believed to have out-of-line versions, assuming you make all the files correctly. If you can name a specific function for which this is not true, I will look into it. Please note the difference between the |
|
Okay, I see the problem; it's the inline functions in For now, if you really want to compile with I imagine the reason this hasn't come up before is because the set of people who use SoftFloat and don't want their compiler to optimize the code is pretty small. |
I wrote Rust bindings to softfloat (https://crates.io/crates/softfloat-sys), however I ran into linking problems since a lot of internal functions are declared inline but there is no out-of-line version of them. As a workaround, I had to make -O1 the minimum optimization level.
Note that I am not using softfloat's makefiles, I instead wrote the build.rs build script based on them.
The text was updated successfully, but these errors were encountered: