This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49335] New: ARM: Invalid assembler generated while compiling C++ code from 'codeblocks'
- From: "michael.hope at linaro dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 8 Jun 2011 22:25:32 +0000
- Subject: [Bug target/49335] New: ARM: Invalid assembler generated while compiling C++ code from 'codeblocks'
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49335
Summary: ARM: Invalid assembler generated while compiling C++
code from 'codeblocks'
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: michael.hope@linaro.org
Created attachment 24468
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24468
Reduced test case
The attached testcase is derived from codeblocks 10.05 and fails to build on
ARM due to generating invalid assembler.
To reproduce:
michaelh@ursa2:~/linaro/bugs$
~/linaro/toolchains/gcc-4.7~svn174795-armv7l-maverick-cbuild127-ursa3-cortexa9r1/bin/g++
-c -O2 -save-temps lp791327.cpp
lp791327.s: Assembler messages:
lp791327.s:76: Error: r13 not allowed here -- `rsb r0,sp,r0,lsl#2'
The fault occurs in 4.6.0 and current trunk. It does not occur in 4.5.3.
Originally reported at
https://bugs.launchpad.net/ubuntu/+source/codeblocks/+bug/791327