Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.dg / pr20927.c
blob55cda33e8c4beeb671e83db1049e78b2eb222e0d
1 /* This caused an ICE on s390x due to a reload inheritance bug. */
3 /* { dg-do compile { target s390*-*-* } } */
4 /* { dg-options "-O2" } */
6 struct point { double x, y; };
7 extern void use (struct point);
9 void test (struct point *pc, struct point p1)
11 struct point p0 = *pc;
13 if (p0.x == p1.x && p0.y == p1.y)
14 use (p0);
16 asm ("" : : : "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10");
18 p1.y -= p0.y;
20 use (p0);
21 use (p1);