[Bug rtl-optimization/105744] [11/12/13 Regression] wrong code with -fexpensive-optimizations -flive-range-shrinkage on powerpc64le-unknown-linux-gnu
linkw at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 27 07:55:00 GMT 2022
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;
}
More information about the Gcc-bugs
mailing list