[Bug target/48325] ICE in reload_cse_simplify_operands, at postreload.c:403 with neon optimized code

ibolton at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 29 16:37:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48325

Ian Bolton <ibolton at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.03.29 16:23:26
                 CC|                            |ibolton at gcc dot gnu.org
     Ever Confirmed|0                           |1
      Known to fail|                            |4.5.3, 4.7.0

--- Comment #2 from Ian Bolton <ibolton at gcc dot gnu.org> 2011-03-29 16:23:26 UTC ---
I get the same thing when I use r171282 of FSF 4.5 branch.

arm-none-linux-gnueabi-gcc pr48325.c -mfloat-abi=softfp -mfpu=neon -O1 
pr48325.c: In function 'test':
pr48325.c:19:1: error: insn does not satisfy its constraints:
(insn 40 38 26 2
/work/ianbol01/cross-build/gcc45-r171282-thumb/arm-none-linux-gnueabi/tools/lib/gcc/arm-none-linux-gnueabi/4.5.3/include/arm_neon.h:10277
(set (reg:OI 95 d16 [orig:152 __b ] [152])
        (mem/s/c:OI (pre_dec:SI (reg/f:SI 3 r3 [151])) [0 __b+0 S32 A64])) 731
{*neon_movoi} (expr_list:REG_INC (reg/f:SI 3 r3 [151])
        (nil)))
pr48325.c:19:1: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:396


Here is the command-line just for cc1:

cc1 -quiet pr48325.c -mfloat-abi=softfp -mfpu=neon -marm -mcpu=cortex-a9 -O1


Doesn't work for thumb either.

It also fails on trunk.

There are two other bugs in flight that manifest in
reload_cse_simplify_operands: PR48250 (broke on trunk for EABI, works on 4.5
for EABI) and PR42949 (works on EABI for trunk and gcc4.5, broke for OABI).

I do not know if they are duplicates of each other, or if there are two or more
separate bugs causing this.



More information about the Gcc-bugs mailing list