(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
lhs-2.c
       1  /* { dg-do compile { target { powerpc*-*-* } } } */
       2  /* { dg-skip-if "" { powerpc*-*-darwin* } } */
       3  /* { dg-options "-O2 -mdejagnu-cpu=power6 -msched-groups" } */
       4  /* { dg-final { scan-assembler "ori 1,1,0" } } */
       5  
       6  /* Test generation of group ending nop in load hit store situation.  */
       7  typedef union {
       8    double val;
       9    struct {
      10      unsigned int w1;
      11      unsigned int w2;
      12    };
      13  } words;
      14  
      15  unsigned int f (double d)
      16  {
      17    words u;
      18    u.val = d;
      19    return u.w2;
      20  }
      21