https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64269
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Shorter testcase:
void
foo (char *p)
{
__SIZE_TYPE__ s = ~(__SIZE_TYPE__)0;
*p = 0;
__builtin_memset (p + 1, 0, s);
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64269
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Shorter testcase:
void
foo (char *p)
{
__SIZE_TYPE__ s = ~(__SIZE_TYPE__)0;
*p = 0;
__builtin_memset (p + 1, 0, s);
}