[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
Mon Jan 30 17:10:51 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108463

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 54374
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54374&action=edit
gcc13-pr108463-1.patch

Additional untested patch (likely stage1 material) to avoid considering
SP_DERIVED_VALUE_P values as useless when they have no locs, but Pmode
REG_VALUES (STACK_POINTER_REGNUM) still has that VALUE plus constant among its
locs.


More information about the Gcc-bugs mailing list