https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108653
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2025-08-07 Ever confirmed|0 |1 CC| |pinskia at gcc dot gnu.org Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note this testcase is fixed due to the forwprop changes I have done but if you change it slightly: ``` struct s2 s2 = {1}; ``` Then SRA is bad again. copy prop for aggregates has definitely improved things here. I wonder if we should not have a DSE now after forwprop1 and before SRA due to copy prop for aggregates.