re PR tree-optimization/77362 ([graphite] ICE in sese_build_liveouts_use w/ -O2 -floop-nest-optimize)
2017-09-20 Richard Biener <rguenther@suse.de> PR tree-optimization/77362 * gcc.dg/graphite/pr77362.c: New testcase. From-SVN: r253006
This commit is contained in:
parent
2a9000795c
commit
52e22c79dc
@ -1,3 +1,8 @@
|
||||
2017-09-20 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/77362
|
||||
* gcc.dg/graphite/pr77362.c: New testcase.
|
||||
|
||||
2017-09-20 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/82264
|
||||
|
21
gcc/testsuite/gcc.dg/graphite/pr77362.c
Normal file
21
gcc/testsuite/gcc.dg/graphite/pr77362.c
Normal file
@ -0,0 +1,21 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -floop-nest-optimize" } */
|
||||
|
||||
int mc[2];
|
||||
int f2, sk;
|
||||
short int hm;
|
||||
|
||||
void
|
||||
zm (void)
|
||||
{
|
||||
int k1;
|
||||
|
||||
for (k1 = 0; k1 < 2; ++k1)
|
||||
{
|
||||
for (sk = 0; sk < 2; ++sk)
|
||||
mc[sk] = hm = ++f2;
|
||||
if (hm >= 0)
|
||||
++hm;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user