https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91445
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- FREs redundant store removal is guilty. struct S { _Bool x; }; void foo (struct S *s) { __builtin_memset (s, 0x11, sizeof (struct S)); s->x = 1; } has the store to s->x removed.