blob: 1f5858808c42f1b7c83a65b59185e0f2b44ec4fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* This used to ICE due to a reload bug on s390*. */
/* { dg-do compile { target s390*-*-* } } */
/* { dg-options "-O2" } */
void func (char *p);
void test (void)
{
char *p = alloca (4096);
long idx;
asm ("" : "=r" (idx) : : "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12");
func (p + idx + 1);
}
|