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

Vincent Lefèvre <vincent-gcc at vinc17 dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincent-gcc at vinc17 dot net

--- Comment #3 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
I think that it works as expected: in PR34678 Comment 1, Richard Biener said:
"-frounding-math [...] assumes the _same_ rounding mode is in effect
everywhere, but doesn't assume it is round-to-nearest."

So it makes sense for GCC to consider that any fesetround() occurs at the
beginning of the program, which is what can be seen here.

If you assume more from -frounding-math, then this is a dup of PR34678.

Reply via email to