https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105744
Kewen Lin <linkw at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tuliom at ascii dot art.br
--- Comment #3 from Kewen Lin <linkw at gcc dot gnu.org> ---
Hi Zdenek,
Could you please double check the strncpy implementation on your side? and help
to file one glibc issue if so.
One further reduced test case:
#define N 3
char a[N];
char c[N];
int
main (void)
{
asm volatile("xxspltib 18, 0xf" : : :"vs18");
__builtin_strncpy (c, a, N);
if (c[0] || c[1])
__builtin_abort ();
return 0;
}