[Bug c/123482] in -frounding-math, GCC moves floating-point operation across fesetround call

pascal_cuoq at hotmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 8 13:18:03 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123482

--- Comment #1 from Pascal Cuoq <pascal_cuoq at hotmail dot com> ---
I forgot to say to make the problem self-contained that the commandline for the
example is: -frounding-math -O2 -frounding-math -lm

(The commandline could be found at the Compiler Explorer link.)


More information about the Gcc-bugs mailing list