Message ID | alpine.LSU.2.20.1710061019530.6597@zhemvz.fhfr.qr |
---|---|
State | New |
Headers | show |
Series | Testcase for PR82421 | expand |
Index: gcc/testsuite/gcc.dg/graphite/pr82421.c =================================================================== --- gcc/testsuite/gcc.dg/graphite/pr82421.c (nonexistent) +++ gcc/testsuite/gcc.dg/graphite/pr82421.c (working copy) @@ -0,0 +1,21 @@ +/* { dg-do compile } */ +/* { dg-options "-O -floop-nest-optimize" } */ + +int pc; + +void +qy (int l9) +{ + int tw = 4; + int fb[tw]; + + while (l9 < 1) + { + int dr; + + pc = fb[2]; + for (dr = 0; dr < tw; ++dr) + fb[dr] = 0; + ++l9; + } +}