https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99554
Bug ID: 99554 Summary: SVE: ICE (segfault) in recog.c:extract_asm_operands during expand Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- The following fails: $ cat test.cc int a[21][256]; void b() { for (long c; c; ++c) for (long d = 0; d < 16; ++d) for (long e = 0; e < 16; ++e) a[c][d * 16 + e] = 8; } $ aarch64-linux-gnu-gcc -c test.cc -O3 -march=armv8.2-a+sve -fvect-cost-model=unlimited -ftrapv during RTL pass: expand test.cc: In function ‘void b()’: test.cc:7:1: internal compiler error: Segmentation fault 7 | } | ^ 0x10acb6d crash_signal /home/alecop01/toolchain/src/gcc/gcc/toplev.c:327 0xff83c2 extract_asm_operands(rtx_def*) /home/alecop01/toolchain/src/gcc/gcc/recog.c:1901 0xeb3c00 mark_jump_label(rtx_def*, rtx_insn*, int) /home/alecop01/toolchain/src/gcc/gcc/jump.c:1080 0xeb4431 mark_all_labels /home/alecop01/toolchain/src/gcc/gcc/jump.c:332 0xeb4431 rebuild_jump_labels_1 /home/alecop01/toolchain/src/gcc/gcc/jump.c:74 0xeb44ed rebuild_jump_labels(rtx_insn*) /home/alecop01/toolchain/src/gcc/gcc/jump.c:98 0xb6c8b1 execute /home/alecop01/toolchain/src/gcc/gcc/cfgexpand.c:6779 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.