[Bug c/84190] [7 Regression] double arithmetic on x86 no longer rounds to nearest

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Sun Feb 4 14:11:00 GMT 2018


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

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
You need to use -fexcess-precision=standard (or -msse2 -mfpmath=sse) for 
predictable results from double arithmetic on 32-bit x86.  If you do that, 
do you still see such a problem?  If not, this is just a duplicate of bug 
323 (and what's a volatile access is irrelevant).


More information about the Gcc-bugs mailing list