aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/dblbug.c
blob: 223116f45d0ca7c995c2def39c0dc4899282aa5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* { dg-additional-options "-std=gnu89" } */

union real_extract
{
  double  d;
  int i[sizeof (double ) / sizeof (int)];
};

typedef struct
{
  int zzzz;
} *rtx;

rtx
immed_real_const_1 (d)
     double  d;
{
  union real_extract u;
  register rtx r;

  u.d = d;
  foo (&(r->zzzz), &u);
}