2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030123-1.c
blob1f5858808c42f1b7c83a65b59185e0f2b44ec4fc
1 /* This used to ICE due to a reload bug on s390*. */
3 /* { dg-do compile { target s390*-*-* } } */
4 /* { dg-options "-O2" } */
6 void func (char *p);
8 void test (void)
10 char *p = alloca (4096);
11 long idx;
13 asm ("" : "=r" (idx) : : "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12");
15 func (p + idx + 1);