[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


--- 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

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

More information about the Gcc-bugs mailing list