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