aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20030725-1.c
blob: 26f2714010e4c7cc806fda033323adec109f0997 (plain)
1
2
3
4
5
6
7
8
9
/* This testcase caused ICE on any 64-bit arch at -O2/-O3 due to
   fold/extract_muldiv/convert destroying its argument.  */
int x, *y, z, *p;

void
foo (void)
{
  p = y + (8 * (x == 1 || x == 3) + z);
}