https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #8 from Josh Kelley joshkel at gmail dot com ---
Adding -mno-mmx prevents the error. Thank you very much for your help.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
Component|c++ |target
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #1 from Josh Kelley joshkel at gmail dot com ---
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #2 from Uroš Bizjak ubizjak at gmail dot com ---
Please attach a *preprocessed* source, as instructed in [1].
[1] https://gcc.gnu.org/bugs/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #4 from Josh Kelley joshkel at gmail dot com ---
Created attachment 36074
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36074action=edit
Preprocessed Statistic.cpp from test case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #3 from Josh Kelley joshkel at gmail dot com ---
Created attachment 36073
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36073action=edit
Preprocessed main.cpp from test case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
Uroš Bizjak ubizjak at gmail dot com changed:
What|Removed |Added
Keywords||ra
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #5 from Josh Kelley joshkel at gmail dot com ---
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:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032
--- Comment #7 from Uroš Bizjak ubizjak at gmail dot com ---
Forgot to say that -mno-mmx disables moves to/from MMX regs in your case.