This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/81516] New: Wrong code with -m32 -O2 on x86_64-linux-gnu


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]