https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111677
Alex Coplan <acoplan at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection | Known to fail|13.2.1 |14.0 Known to work|14.0 | Version|13.2.0 |13.2.1 Summary|[12/13 Regression] |[12/13/14 Regression] |darktable build on aarch64 |darktable build on aarch64 |fails with unrecognizable |fails with unrecognizable |insn due to |insn due to |-fstack-protector changes |-fstack-protector changes --- Comment #23 from Alex Coplan <acoplan at gcc dot gnu.org> --- Discovered by accident while working on a patch for trunk, but adding -funroll-loops to the testcase in #c20 is enough to make the ICE trigger on the trunk, too. Testing a fix for trunk and a backport to 13 (to start with). To reproduce on the trunk (t.c as in #c20): $ gcc/xgcc -B gcc -c t.c -O3 -ffast-math -fopenmp -fstack-protector-strong -funroll-loops t.c: In function ‘dt_bilateral_splat.simdclone.1’: t.c:25:1: error: unrecognizable insn: 25 | } | ^ (insn 2182 2181 406 85 (set (mem/c:TF (plus:DI (reg/f:DI 31 sp) (const_int 512 [0x200])) [7 S16 A8]) (reg:TF 55 v23)) -1 (expr_list:REG_DEAD (reg:TF 55 v23) (nil))) during RTL pass: sched_fusion t.c:25:1: internal compiler error: in get_attr_type, at config/aarch64/aarch64.md:29678 0x74a68f _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/alecop01/toolchain/src/gcc/gcc/rtl-error.cc:108 0x74a6c3 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/alecop01/toolchain/src/gcc/gcc/rtl-error.cc:116 0x18cf03b get_attr_type(rtx_insn*) /home/alecop01/toolchain/src/gcc/gcc/config/aarch64/aarch64.md:29678 0x13278b7 aarch64_sched_variable_issue /home/alecop01/toolchain/src/gcc/gcc/config/aarch64/aarch64.cc:15827 0x13278b7 aarch64_sched_variable_issue /home/alecop01/toolchain/src/gcc/gcc/config/aarch64/aarch64.cc:15818 0x1e25057 schedule_block(basic_block_def**, void*) /home/alecop01/toolchain/src/gcc/gcc/haifa-sched.cc:6912 0xeb307f schedule_region /home/alecop01/toolchain/src/gcc/gcc/sched-rgn.cc:3203 0xeb307f schedule_insns() /home/alecop01/toolchain/src/gcc/gcc/sched-rgn.cc:3525 0xeb34a3 schedule_insns() /home/alecop01/toolchain/src/gcc/gcc/sched-rgn.cc:3511 0xeb34a3 rest_of_handle_sched_fusion /home/alecop01/toolchain/src/gcc/gcc/sched-rgn.cc:3760 0xeb34a3 execute /home/alecop01/toolchain/src/gcc/gcc/sched-rgn.cc:3938 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.