46639003c8
* gcc.c-torture/compile/20000606-1.c: New test. * gcc.c-torture/compile/20000728-1.c: New test. * gcc.c-torture/execute/20000801-1.c: New test. * gcc.c-torture/execute/20000801-2.c: New test. * gcc.c-torture/execute/20000819-1.c: New test. * gcc.c-torture/execute/20000819-1.x: XFAIL. * gcc.dg/20000629-1.c: New test. * gcc.dg/20000724-1.c: New test. * gcc.dg/20000807-1.c: New test. From-SVN: r35834
18 lines
192 B
C
18 lines
192 B
C
int a[2] = { 2, 0 };
|
|
|
|
void foo(int *sp, int cnt)
|
|
{
|
|
int *p, *top;
|
|
|
|
top = sp; sp -= cnt;
|
|
|
|
for(p = sp; p <= top; p++)
|
|
if (*p < 2) exit(0);
|
|
}
|
|
|
|
int main()
|
|
{
|
|
foo(a + 1, 1);
|
|
abort();
|
|
}
|