Merge from mainline.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr27661.c
blob7660c822fb910351f870393e06264543d20d4edf
1 /* This used to ICE on s390 due to a reload bug. */
3 /* { dg-do compile { target s390*-*-* } } */
4 /* { dg-options "-O2 -march=z990 -ftracer" } */
6 extern int memcmp (const void *s1, const void *s2, unsigned long n);
7 extern int printf (__const char *__restrict __format, ...);
9 struct test
11 char tmp[4096];
12 char msgtype[2];
15 void test (struct test *testtb)
17 if (testtb)
18 printf ("a");
20 if (memcmp(testtb->msgtype, "a", 2))
21 printf ("a");
23 printf ("b");