aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20120727-2.c
blob: c2c45d03c2fbbe0d2edd43d7726ceb049bd56457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-options "-mfpmath=387" { target { i?86-*-* x86_64-*-* } } } */

union {
  char *p;
  double d;
} u;

void
f (void)
{
  u.p = "";
  u.d += 1.1;
}