testsuite: Add testcase for no longer failing PR [PR102645]
This test started ICEing with r12-3876 but stopped with r12-5264. 2022-03-22 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/102645 * gcc.c-torture/compile/pr102645.c: New test.
This commit is contained in:
parent
6adbb51eaa
commit
7d5ee28951
18
gcc/testsuite/gcc.c-torture/compile/pr102645.c
Normal file
18
gcc/testsuite/gcc.c-torture/compile/pr102645.c
Normal file
@ -0,0 +1,18 @@
|
||||
/* PR tree-optimization/102645 */
|
||||
|
||||
volatile int a[1], d;
|
||||
int b, c;
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
if (b && c)
|
||||
for (c = 0; c < 3; c++)
|
||||
{
|
||||
for (int e = 0; e < 6; e++)
|
||||
for (int f = 0; f < 12; f++)
|
||||
d && a[0];
|
||||
continue;
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user