OSDN Git Service

Formatting fixes.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20030123-1.c
1 /* This used to ICE due to a reload bug on s390*.  */
2
3 /* { dg-do compile { target s390*-*-* } } */
4 /* { dg-options "-O2 -fno-omit-frame-pointer" } */
5
6 void func (char *p);
7
8 void test (void)
9 {
10    char *p = alloca (4096);
11    long idx;
12
13    asm ("" : "=r" (idx) : : "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "12");
14
15    func (p + idx + 1);
16 }
17