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:
Richard Biener 2017-02-08 09:35:41 +00:00 committed by Richard Biener
parent 74a15d1424
commit 50c1f4a5e1
2 changed files with 25 additions and 0 deletions

View File

@ -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

View 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];
}
}