https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111822
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjames at gcc dot gnu.org --- Comment #2 from Sam James <sjames at gcc dot gnu.org> --- I was confused at first while just checking the range because 10 has a different ICE: $ g++-10 /tmp/foo.cxx -o /tmp/foo -c -O2 -m32 -flive-range-shrinkage -fno-dce -fnon-call-exceptions during RTL pass: lr_shrinkage /tmp/foo.cxx: In member function 'void SQVM::CallNative()': /tmp/foo.cxx:41:1: internal compiler error: Segmentation fault 41 | } | ^ 0xc86baf crash_signal /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/toplev.c:328 0x84d9a6 pre_and_rev_post_order_compute_fn(function*, int*, int*, bool) /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/cfganal.c:1036 0x84db87 pre_and_rev_post_order_compute(int*, int*, bool) /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/cfganal.c:1049 0x81c940 init_alias_analysis() /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/alias.c:3391 0x14d9f91 sched_init() /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/haifa-sched.c:7326 0x14e4ebd haifa_sched_init() /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/haifa-sched.c:7363 0xc3e02b schedule_insns() /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/sched-rgn.c:3514 0xc3e6db schedule_insns() /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/sched-rgn.c:3508 0xc3e6db rest_of_handle_live_range_shrinkage /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/sched-rgn.c:3710 0xc3e6db execute /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/sched-rgn.c:3797 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. Anyway, bisecting.