https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121894
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2025-09-10
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=36602
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> __builtin_memset (&s, 0, 32);
>into
> __builtin_memset (&MEM <char> [(void *)&s + 8B], 0, 20);
I suspect if we change the memset to be
MEM <char[32]> [(void *)&s] = {};
(This is PR 36602)
There is already code in DSE to handle the above triming off the first part.