This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81516] New: Wrong code with -m32 -O2 on x86_64-linux-gnu
- From: "davmac at davmac dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Jul 2017 17:36:42 +0000
- Subject: [Bug target/81516] New: Wrong code with -m32 -O2 on x86_64-linux-gnu
- Auto-submitted: auto-generated
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.