(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
compile/
pr22269.c
       1  /* We used to ICE in tree-ssa-reassoc because we did look at the correct operand to
       2     see if it was a SSA_NAME.  */
       3  int printf(const char*, ...);
       4  int main(int argv, char*argc) {
       5  
       6      int d1;
       7      int d2;
       8      int s1, s2;
       9      int b;
      10      ((d1)&=(int)0x0000ffffL, (d1)|=((int)(short)(0x344))<<16);
      11      ((d1)&=(int)0xffff0000UL, (d1)|=(int)(unsigned short)(0x4567));
      12      ((d2)&=(int)0x0000ffffL, (d2)|=((int)(short)(0))<<16);
      13      ((d2)&=(int)0xffff0000UL, (d2)|=(int)(unsigned short)(0x3b9a));
      14      printf(" dividend >>: %ld\n", d1);
      15      printf(" divisor  >>: %ld\n", d2);
      16  }