https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114566
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
CC| |jakub at gcc dot gnu.org
Last reconfirmed|2024-04-02 00:00:00 |2024-04-04
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
With -O3 -mavx512{bw,dq,vl} -fstack-protector-strong on
void
foo (float x, float y)
{
float a[8][56];
__builtin_memset (a, 0, sizeof (a));
for (int j = 0; j < 8; j++)
{
for (int k = 0; k < 56; k++)
{
float b = k * y;
if (b < 0.)
b = 0.;
if (b > 0.)
b = 0.;
a[j][k] += b;
}
}
int c = __builtin_log (x);
}
int
main ()
{
foo (86.1328125, 0.625001);
return 0;
}
this started with r10-4263-g1297712fb4af6c6bfd827e0f0a9695b14669f87d
and went away on the trunk with
r14-2487-g574a1ea4406dd1dbf14e149a9b5d142f6cbdf32a