++
Assignee: unassigned at gcc dot gnu.org
Reporter: joshkel at gmail dot com
Target Milestone: ---
Created attachment 41402
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41402&action=edit
Test case
Compiling the attached source file with no flags
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #18 from Josh Kelley ---
Thank you.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #8 from Josh Kelley ---
Adding -mno-mmx prevents the error. Thank you very much for your help.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #5 from Josh Kelley ---
Additional information requested in https://gcc.gnu.org/bugs/:
Using built-in specs.
COLLECT_GCC=g++-5
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/5/lto-wrapper
Target: i686-linux-gnu
Configured with: ../s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #4 from Josh Kelley ---
Created attachment 36074
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36074&action=edit
Preprocessed Statistic.cpp from test case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #3 from Josh Kelley ---
Created attachment 36073
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36073&action=edit
Preprocessed main.cpp from test case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #1 from Josh Kelley ---
I forgot to mention that the buggy behavior can be observed by running the
resulting Geode-optimized executable on a standard PC as well as on a Geode.
++
Assignee: unassigned at gcc dot gnu.org
Reporter: joshkel at gmail dot com
Target Milestone: ---
When optimizing for the Geode architecture (-O2 -march=geode), functions may
incorrectly return -NaN instead of the expected result.
Here's a test case. (I apologize for its l