re PR tree-optimization/71824 (ICE when compiling libiberty with Graphite loop optimizations)
2017-02-08 Richard Biener <rguenther@suse.de> PR tree-optimization/71824 PR tree-optimization/79409 * gcc.dg/graphite/pr71824-3.c: New testcase. From-SVN: r245274
This commit is contained in:
parent
74a15d1424
commit
50c1f4a5e1
@ -1,3 +1,9 @@
|
||||
2017-02-08 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/71824
|
||||
PR tree-optimization/79409
|
||||
* gcc.dg/graphite/pr71824-3.c: New testcase.
|
||||
|
||||
2017-02-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/79408
|
||||
|
19
gcc/testsuite/gcc.dg/graphite/pr71824-3.c
Normal file
19
gcc/testsuite/gcc.dg/graphite/pr71824-3.c
Normal file
@ -0,0 +1,19 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -ftree-loop-distribution -floop-nest-optimize" } */
|
||||
|
||||
struct
|
||||
{
|
||||
int bz;
|
||||
} od, ka[2];
|
||||
|
||||
int fw;
|
||||
|
||||
void
|
||||
pc (void)
|
||||
{
|
||||
for (od.bz = 0; od.bz < 2; ++od.bz)
|
||||
{
|
||||
++fw;
|
||||
ka[0] = ka[1];
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user