This commit was manufactured by cvs2svn to create branch
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030123-1.c
blob319e4526a4a92447c9faaf83525f0feaa3a09510
1 /* This used to ICE due to a reload bug on s390*. */
3 /* { dg-do compile { target s390*-*-* } } */
4 /* { dg-options "-O2 -fno-omit-frame-pointer" } */
6 extern void *alloca (__SIZE_TYPE__);
8 void func (char *p);
10 void test (void)
12 char *p = alloca (4096);
13 long idx;
15 asm ("" : "=r" (idx) : : "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "12");
17 func (p + idx + 1);