* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / pr20927.c
blobdbc990f151f6e0483da59fec42b4ab7c9ab7997d
1 /* This caused an ICE on s390x due to a reload inheritance bug. */
3 /* { dg-do compile } */
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);