https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119294

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
so we have `memset(&vector_char, x, sizeof(vector_char))`
A simple patch to gimple_fold_builtin_memset:

if (TREE_CODE (etype) == VECTOR_TYPE)
....

And that will fix it.

Reply via email to