modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr22269.c (about)

     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  }