Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / pr27661.c
blob1ff6dcc7cece5ac0ced81df9e32176ad40528f5a
1 /* This used to ICE on s390 due to a reload bug. */
3 /* { dg-do compile } */
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");