https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81516
Bug ID: 81516 Summary: Wrong code with -m32 -O2 on x86_64-linux-gnu Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: davmac at davmac dot org Target Milestone: --- Created attachment 41809 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41809&action=edit reduced test case Attached file (reduced test case from string-to-double conversion routine in Firefox 54.0.1) aborts when compiled with: gcc -m32 -O2 wrong-code.c It's fine when compiled with -O1 or without -m32.