https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61411
Bug ID: 61411 Summary: [NEON] ICE in reload_cse_simplify_operands, at postreload.c:411 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: cbaylis at gcc dot gnu.org Target: aarch64-oe-linux Created attachment 32890 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32890&action=edit Reduced test case The attached test case results in an ICE when compiled with gcc 4.9 $ aarch64-oe-linux-gcc -O3 -c test.c test.c: In function ‘vp9_idct16x16_256_add_neon_pass2’: test.c:126:1: error: insn does not satisfy its constraints: } ^ (insn 198 110 159 2 (set (reg:V8QI 37 v5 [orig:118 D.16400 ] [118]) (mem:V8QI (plus:DI (reg/v/f:DI 20 x20 [orig:202 dest ] [202]) (reg:DI 8 x8 [340])) [2 MEM[(const int64_t *)dest_44]+0 S8 A64])) /home/cbaylis/tools/tools-aarch64-oe-linux-4.9/lib/gcc/aarch64-oe-linux/4.9.1/include/arm_neon.h:3646 735 {*aarch64_simd_movv8qi} (nil)) test.c:126:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411 0x7fc47a _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/rtl-error.c:109 0x7fc49f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/rtl-error.c:120 0x7bdbd9 reload_cse_simplify_operands /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/postreload.c:411 0x7bf69c reload_cse_simplify /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/postreload.c:181 0x7bf69c reload_cse_regs_1 /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/postreload.c:220 0x7bfa8b reload_cse_regs /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/postreload.c:68 0x7bfa8b rest_of_handle_postreload /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/postreload.c:2332 0x7bfa8b execute /home/cbaylis/srcarea/gcc/gcc-4_9-branch/gcc/postreload.c:2368 There is a patch which appears to fix this problem at https://gcc.gnu.org/ml/gcc-patches/2014-05/msg02397.html