https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122680
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Sam James from comment #1)
> Here is a stdlib testcase:
And here is a reduced testcase from that:
```
struct f
{
float *buf;
};
f
foo ()
{
f a;
a.buf = new float[100];
for (unsigned long i = 0, j = 100; i < 100; i++, j--)
a.buf[i] = j;
return a;
}
```
