https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101548
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101548
Richard Biener changed:
What|Removed |Added
CC||crazylht at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101548
--- Comment #1 from Richard Biener ---
It works with
void foo (double * __restrict a, double *b)
{
for (int i = 0; i < 1024; ++i)
{
double tem = a[i];
if (b[i] < tem)
a[i] = tem + b[i];
}
}
and
[local count: 1