https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117176
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |15.0
Keywords| |ice-on-valid-code
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
```
void foo(_Bool);
typedef struct {
int componentCt;
} ColorSpace;
struct Psnr {
double psnr[3];
} reportPsnrMachine() {}
int main() {
ColorSpace colorSpace;
struct Psnr psnr;
_Bool hitsTarget;
float compTarget_0;
int i = hitsTarget = 1;
for (; i < colorSpace.componentCt && hitsTarget; ++i)
if (psnr.psnr[i] < compTarget_0)
hitsTarget = 0;
foo(hitsTarget);
}
```