Thank you for the bug report. I've confirmed this with gcc-linaro-4.6-2011.08 on ARM:
michaelh@ursa1:~/linaro/bugs$ /tools/toolchains/arch/armv7l/gcc-linaro-4.6-2011.08-armv7l-natty-cbuild162-ursa1-cortexa9r1/bin/gcc -O2 -S ossplay_decode3.i
ossplay_decode.c: In function 'decode_amplify':
ossplay_decode.c:1002:1: internal compiler error: in get_arm_condition_code, at config/arm/arm.c:17488
It also fails at -O1 and -O3. The work-around is to compile with -O0 or -marm. The fault also exists in gcc-4.6.1 and trunk r178025. It does not exist in gcc-4.5.3. Could you please also report this in GCC bugzilla and attach it to this ticket?
I've set it to medium priority as it is a ftbfs, a work-around exists, and the fault exists upstream.
Thank you for the bug report. I've confirmed this with gcc-linaro- 4.6-2011. 08 on ARM:
michaelh@ ursa1:~ /linaro/ bugs$ /tools/ toolchains/ arch/armv7l/ gcc-linaro- 4.6-2011. 08-armv7l- natty-cbuild162 -ursa1- cortexa9r1/ bin/gcc -O2 -S ossplay_decode3.i decode. c:1002: 1: internal compiler error: in get_arm_ condition_ code, at config/ arm/arm. c:17488
ossplay_decode.c: In function 'decode_amplify':
ossplay_
It also fails at -O1 and -O3. The work-around is to compile with -O0 or -marm. The fault also exists in gcc-4.6.1 and trunk r178025. It does not exist in gcc-4.5.3. Could you please also report this in GCC bugzilla and attach it to this ticket?
I've set it to medium priority as it is a ftbfs, a work-around exists, and the fault exists upstream.