(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
pr93582.c
       1  /* PR tree-optimization/93582 */
       2  
       3  short a;
       4  int b, c;
       5  
       6  __attribute__((noipa)) void
       7  foo (void)
       8  {
       9    b = c;
      10    a &= 7;
      11  }
      12  
      13  int
      14  main ()
      15  {
      16    c = 27;
      17    a = 14;
      18    foo ();
      19    if (b != 27 || a != 6)
      20      __builtin_abort ();
      21    return 0;
      22  }