https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Backtrace from a cross:
#0 fancy_abort (file=0x34e19d0
"/home/rguenther/src/gcc/gcc/rtl-ssa/accesses.cc", line=53,
function=0x34e1c40 <rtl_ssa::clobber_info::recompute_group()::__FUNCTION__>
"recompute_group")
at /home/rguenther/src/gcc/gcc/diagnostics/context.cc:1764
#1 0x0000000002c84913 in rtl_ssa::clobber_info::recompute_group
(this=0x3e9e600)
at /home/rguenther/src/gcc/gcc/rtl-ssa/accesses.cc:53
#2 0x0000000002ad20d2 in rtl_ssa::clobber_info::group (this=0x3e9e600)
at /home/rguenther/src/gcc/gcc/rtl-ssa/member-fns.inl:200
#3 0x0000000002ad1a78 in rtl_ssa::first_clobber_in_group (clobber=0x3e9e600)
at /home/rguenther/src/gcc/gcc/rtl-ssa/access-utils.h:244
#4 0x0000000002c1030c in rtl_ssa::last_access<(anonymous
namespace)::insn_combination::substitute_nondebug_use(rtl_ssa::use_info*)::local_ignore>(rtl_ssa::def_info
*, rtl_ssa::ignore_clobbers, local_ignore) (def=0x3e9e600,
ignore_clobbers_setting=rtl_ssa::ignore_clobbers::YES, ignore=...)
at /home/rguenther/src/gcc/gcc/rtl-ssa/access-utils.h:460
#5 0x0000000002c0fd6c in rtl_ssa::prev_access<(anonymous
namespace)::insn_combination::substitute_nondebug_use(rtl_ssa::use_info*)::local_ignore>(rtl_ssa::def_info
*, rtl_ssa::ignore_clobbers, local_ignore) (def=0x3e9eba0,
ignore_clobbers_setting=rtl_ssa::ignore_clobbers::YES, ignore=...)
at /home/rguenther/src/gcc/gcc/rtl-ssa/access-utils.h:491
#6 0x0000000002c0f69b in rtl_ssa::restrict_movement_for_defs<(anonymous
namespace)::insn_combination::substitute_nondebug_use(rtl_ssa::use_info*)::local_ignore>(rtl_ssa::insn_range_info
&, rtl_ssa::def_array, local_ignore) (move_range=..., defs=..., ignore=...)
at /home/rguenther/src/gcc/gcc/rtl-ssa/movement.h:229
#7 0x0000000002c0f137 in rtl_ssa::restrict_movement<(anonymous
namespace)::insn_combination::substitute_nondebug_use(rtl_ssa::use_info*)::local_ignore>(rtl_ssa::insn_change
&, local_ignore) (
change=..., ignore=...) at
/home/rguenther/src/gcc/gcc/rtl-ssa/change-utils.h:66
#8 0x0000000002c0ca83 in (anonymous
namespace)::insn_combination::substitute_nondebug_use (
this=0x7fffffffd770, use=0x3e9e938) at
/home/rguenther/src/gcc/gcc/late-combine.cc:262
#9 0x0000000002c0cbe6 in (anonymous
namespace)::insn_combination::substitute_nondebug_uses (
this=0x7fffffffd770, def=0x3e9e8c0) at
/home/rguenther/src/gcc/gcc/late-combine.cc:284
#10 0x0000000002c0cc99 in (anonymous
namespace)::insn_combination::substitute_nondebug_uses (
this=0x7fffffffd770, def=0x3e9c458) at
/home/rguenther/src/gcc/gcc/late-combine.cc:288
#11 0x0000000002c0d5c4 in (anonymous namespace)::insn_combination::run
(this=0x7fffffffd770)
at /home/rguenther/src/gcc/gcc/late-combine.cc:453
#12 0x0000000002c0e2fb in (anonymous
namespace)::late_combine::combine_into_uses (
this=0x7fffffffd8d0, def=0x3e9c458, set=0x7ffff66ea2b8, cursor=0x3e9c308)
at /home/rguenther/src/gcc/gcc/late-combine.cc:705
#13 0x0000000002c0ed77 in (anonymous namespace)::late_combine::combine_insn
(this=0x7fffffffd8d0,
insn=0x3e9c3e8, cursor=0x3e9c308) at
/home/rguenther/src/gcc/gcc/late-combine.cc:862
#14 0x0000000002c0ee79 in (anonymous namespace)::late_combine::execute
(this=0x7fffffffd8d0,
fn=0x7ffff7fb60c8) at /home/rguenther/src/gcc/gcc/late-combine.cc:885
so it's hitting
(gdb) l
48 {
49 return node->m_group->has_been_superceded () ? nullptr :
node->m_group;
50 };
51 clobber_group *group = splay_tree::splay_and_search (this, nullptr,
52 find_group);
53 gcc_checking_assert (m_parent);