summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20020309-2.c
blob: 77699e43d3d64eb39f5ab1d122b71aeeef6e0dbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* This testcase ICEd on IA-32 at -O2, because loop was calling convert_modes
   between a MODE_FLOAT and MODE_INT class modes.  */

typedef union
{
  double d;
  long long ll;
} A;

void
foo (A x, A **y, A z)
{
  for (; *y; y++)
    if (x.ll == 262 && (*y)->d == z.d)
      break;
}