aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20120727-1.c
blob: 91c9aa10fc89df3a813cec238ea7f41db2c769c0 (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;
  float f;
} u;

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