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:
parent
ceee0bde36
commit
de0db391ba
@ -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
|
||||
|
16
gcc/testsuite/gcc.dg/torture/pr51238.c
Normal file
16
gcc/testsuite/gcc.dg/torture/pr51238.c
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user