https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127022
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |13.5
Summary|ICE on valid code at |[13/14/15/16/17 Regression]
|-O{2,3} with "-fno-dce |ICE on valid code at
|-fsched2-use-superblocks" |-O{2,3} with "-fno-dce
|on x86_64-linux-gnu: in |-fsched2-use-superblocks"
|begin_move_insn, at |on x86_64-linux-gnu: in
|sched-ebb.cc:196 |begin_move_insn, at
| |sched-ebb.cc:196
--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
/* split_edge () creates BB before E->DEST. Keep in mind, that
this operation extends scheduling region till the end of BB.
Hence, we need to shift NEXT_TAIL, so haifa-sched.cc won't go out
of the scheduling region. */
current_sched_info->next_tail = NEXT_INSN (BB_END (bb));
gcc_assert (current_sched_info->next_tail);