re PR tree-optimization/51238 (ICE: SIGSEGV in find_uses_to_rename_use (tree-ssa-loop-manip.c:1267) with -Os -ftree-loop-distribution)

2012-12-05  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/51238
	* gcc.dg/torture/pr51238.c: New testcase.

From-SVN: r194192
This commit is contained in:
Richard Biener 2012-12-05 10:12:53 +00:00 committed by Richard Biener
parent ceee0bde36
commit de0db391ba
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-12-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/51238
* gcc.dg/torture/pr51238.c: New testcase.
2012-12-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/50222

View File

@ -0,0 +1,16 @@
/* { dg-do compile } */
/* { dg-options "-ftree-loop-distribution" } */
extern int ia[];
extern int ib[];
int i;
void
foo (int l)
{
while (l--)
{
i = ia[l];
ia[l] = ib[l] = 0;
}
}