[Bug rtl-optimization/108463] [13 Regression] ICE: in cselib_subst_to_values, at cselib.cc:2148 with -O2 -fsched2-use-superblocks -g
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 27 11:52:47 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108463
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note, we already distinguish between n_useless_values and
n_useless_debug_values:
if (had_locs && cselib_useless_value_p (v))
{
if (setting_insn && DEBUG_INSN_P (setting_insn))
n_useless_debug_values++;
else
n_useless_values++;
values_became_useless = 1;
}
so the important thing is find out which value created only in the -g case
didn't get marked with setting_insn && DEBUG_INSN_P (setting_insn).
More information about the Gcc-bugs
mailing list