modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/20030725-1.c (about)

     1  /* This testcase caused ICE on any 64-bit arch at -O2/-O3 due to
     2     fold/extract_muldiv/convert destroying its argument.  */
     3  int x, *y, z, *p;
     4  
     5  void
     6  foo (void)
     7  {
     8    p = y + (8 * (x == 1 || x == 3) + z);
     9  }