[Bug middle-end/93806] Wrong optimization: instability of floating-point results with -funsafe-math-optimizations leads to nonsense
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 19 09:20:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93806
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2020-02-19
CC| |marxin at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
>
> __attribute__((noipa)) // imagine it in a separate TU
> static double opaque(double d) { return d; }
Putting the function into a separate file, I see it started with:
r6-2248-g612b9d1364bbefb7
Can you Richi take a look?
More information about the Gcc-bugs
mailing list