gcc

Comment 3 for bug 744884

Revision history for this message
Michael Hope (michaelh1) wrote :

Confirmed in gcc-linaro-4.5+bzr99492:

michaelh@ursa1:~/linaro/bugs$ ../toolchains/gcc-linaro-4.5+bzr99492-armv7l-maverick-cbuild108-ursa3-cortexa9r1/bin/gcc -O2 -mfpu=neon -S insn-unsat-constr.i
insn-unsat-constr.c: In function 'test':
insn-unsat-constr.c:19:1: error: insn does not satisfy its constraints:
(insn 41 22 27 2 /usr/lib/gcc/arm-linux-gnueabi/4.5.2/include/arm_neon.h:10277 (set (reg:OI 95 d16 [orig:154 __b ] [154])
        (mem/s/c:OI (pre_dec:SI (reg/f:SI 3 r3 [153])) [5 __b+0 S32 A64])) 786 {*neon_movoi} (expr_list:REG_INC (reg/f:SI 3 r3 [153])
        (nil)))
insn-unsat-constr.c:19:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:402

Also occurs on the GCC 4.5 release branch:

michaelh@ursa1:~/linaro/bugs$ /tools/toolchains/gcc-4.5.2-armv7l-maverick-cbuild93-ursa1-cortexa8r1/bin/gcc -O2 -mfpu=neon -S insn-unsat-constr.i
insn-unsat-constr.c: In function 'test':
insn-unsat-constr.c:19:1: error: insn does not satisfy its constraints:
(insn 41 22 27 2 /usr/lib/gcc/arm-linux-gnueabi/4.5.2/include/arm_neon.h:10277 (set (reg:OI 95 d16 [orig:154 __b ] [154])
        (mem/s/c:OI (pre_dec:SI (reg/f:SI 3 r3 [153])) [5 __b+0 S32 A64])) 731 {*neon_movoi} (expr_list:REG_INC (reg/f:SI 3 r3 [153])
        (nil)))
insn-unsat-constr.c:19:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396

Does not occur in the GCC 4.6.0 release:

michaelh@ursa1:~/linaro/bugs$ /tools/toolchains/gcc-4.6.0-armv7l-maverick-cbuild93-ursa1-cortexa8r1/bin/gcc -O2 -mfpu=neon -S insn-unsat-constr.i