New test, extracted from 15982
From-SVN: r83454
This commit is contained in:
parent
56db793abf
commit
6263a8f6a5
17
gcc/testsuite/gcc.c-torture/compile/20040621-1.c
Normal file
17
gcc/testsuite/gcc.c-torture/compile/20040621-1.c
Normal file
@ -0,0 +1,17 @@
|
||||
/* This test woudl cause partial redundancies too complex for PRE
|
||||
to insert using a single temporary due to them not being GIMPLE
|
||||
expressions. */
|
||||
int ssbgst (int c, int k)
|
||||
{
|
||||
int a, i, j;
|
||||
|
||||
a = 0;
|
||||
i = 1;
|
||||
j = k;
|
||||
while (j)
|
||||
{
|
||||
a += (j + i) * (k + i + c) + (j + i + c);
|
||||
j = j - 1;
|
||||
}
|
||||
return a;
|
||||
}
|
Loading…
Reference in New Issue
Block a user