https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86010
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-01 CC| |law at gcc dot gnu.org Known to work| |4.8.5 Target Milestone|--- |7.4 Summary|[7/8 Regression] redundant |[7/8/9 Regression] |memset with smaller size |redundant memset with |not eliminated |smaller size not eliminated Ever confirmed|0 |1 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- This is the new byte-tracking in DSE I presume which isn't able to prune optimally (off-by-one?) or do the better thing, namely removing the later memset instead of the earlier. With GCC 4.8 we managed to combine the memsets at the RTL level.