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/46882] New: Wrong code generated for arm with -O2


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.


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