(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
h8300/
pr17306-2.c
       1  /* { dg-do compile }  */
       2  /* { dg-options "-mh -O2 -w" }  */
       3  /* { dg-final { scan-assembler-times ":8" 2 } }  */
       4  
       5  
       6  struct x {
       7    char x;
       8    char y;
       9  };
      10  
      11  struct x __attribute__ ((eightbit_data)) foo;
      12  
      13  int bar ()
      14  {
      15   if ((foo.y & 0x80) != 0)
      16     oof ();
      17  }
      18  
      19  int com ()
      20  {
      21   if ((foo.x & 0x80) != 0)
      22     oof ();
      23  }