https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121357
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Summary|Bad codegen when |memset could be optimized |generically 1-filling a |better for structs that |struct in C |don't need to be in memory Component|middle-end |tree-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- _1 = __builtin_memset (&D.4595, 255, 8); takeit (MEM[(struct it *)_1]); D.4595 ={v} {CLOBBER(eos)};