http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50949
Bug #: 50949 Summary: ICE on armhf with neon code Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: konstantinos.margari...@linaro.org Host: arm-linux-gnueabihf Target: arm-linux-gnueabihf Build: arm-linux-gnueabihf Created attachment 25680 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25680 minimal testcase produced using delta tool from source (propriatery driver including NEON code) (Note: this is a different ICE than #PR50948, but produced from the same file as the previous, in fact it's produced from the same function, albeit with a small modification). When building neon code on armhf -which I cannot attach to its full, due to licensing reason, unfortunately- I get an ICE. Using delta I was able to get a minimal testcase (which is different than the one in #PR50948), that produces the exact ICE. The testcase is attached. Here is the message and the cmd line used: $ gcc -O -mfpu=neon matrix2-min.i matrix2-min.i: In function ‘matrixTranspose’: matrix2-min.i:38:5: error: insn does not satisfy its constraints: (insn 41 16 17 2 (set (mem/c/i:XI (pre_dec:SI (reg/f:SI 5 r5 [145])) [0 S64 A64]) (reg:XI 111 d24)) matrix2-min.i:21 753 {*neon_movxi} (expr_list:REG_INC (reg/f:SI 5 r5 [145]) (nil))) matrix2-min.i:38:5: internal compiler error: in reload_cse_simplify_operands, at postreload.c:403 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions. Preprocessed source stored into /tmp/ccpGsI3S.out file, please attach this to your bugreport. This ICE is not reproducible on gcc-4.6 on oneiric/armel. This bug has also been filed to the Debian BTS: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646163 Konstantinos