[Bug middle-end/55642] New: [4.8 Regression] Invalid thumb code generated ("thumb conditional instruction should be in IT block")
Bernhard.Rosenkranzer at linaro dot org
gcc-bugzilla@gcc.gnu.org
Mon Dec 10 17:24:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55642
Bug #: 55642
Summary: [4.8 Regression] Invalid thumb code generated ("thumb
conditional instruction should be in IT block")
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: Bernhard.Rosenkranzer@linaro.org
Created attachment 28914
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28914
Test case (not yet reduced)
Building the attached preprocessed code with -std=gnu++11 -O2 -mthumb
-mcpu=cortex-a9 results in errors from the assembler:
[bero@localhost grouper-4.2.1-gcc-4.8 (master)]$
/opt/android-toolchain-trunk/bin/arm-linux-androideabi-g++ -std=gnu++11 -o
ARMAsmParser.o -O2 -mthumb -mcpu=cortex-a9 -c ARMAsmParser.i
/tmp/ccKYPdeC.s: Assembler messages:
/tmp/ccKYPdeC.s:7949: Error: thumb conditional instruction should be in IT
block -- `subne r2,r2,r3,asr#31'
/tmp/ccKYPdeC.s:21058: Error: thumb conditional instruction should be in IT
block -- `subne r2,r2,r3,asr#31'
More information about the Gcc-bugs
mailing list