https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110721
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org Keywords|needs-bisection | --- Comment #5 from Sam James <sjames at gcc dot gnu.org> --- the bisect indicates r12-248-gb58dc0b803057c was the fix: b58dc0b803057c0e6032e0d9bd92cd834f72c75c is the first bad commit commit b58dc0b803057c0e6032e0d9bd92cd834f72c75c Author: Richard Biener <rguent...@suse.de> Date: Tue Apr 27 14:32:27 2021 +0200 tree-optimization/99912 - delete trivially dead stmts during DSE DSE performs a backwards walk over stmts removing stores but it leaves removing resulting dead SSA defs to later passes. This eats into its own alias walking budget if the removed stores kept loads live. The following patch adds removal of trivially dead SSA defs which helps in this situation and reduces the amount of garbage followup passes need to deal with.