This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/46882] New: Wrong code generated for arm with -O2
- From: "raj.khem at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Dec 2010 06:27:35 +0000
- Subject: [Bug target/46882] New: Wrong code generated for arm with -O2
- Auto-submitted: auto-generated
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.