[Bug target/46882] New: Wrong code generated for arm with -O2

raj.khem at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 10 06:27:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46882

           Summary: Wrong code generated for arm with -O2
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: raj.khem@gmail.com


Created attachment 22703
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22703
testcase

compiling the following testcase with -O2 and executing the resulting binary on
arm machine or qemu results in wrong results. The testcase works fine at -O1 or
below. The problem is seen on 4.5 branch too.



More information about the Gcc-bugs mailing list