aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr42891.c
blob: e3c7b9cf83b26fae5d7f77909b331f8889bd523c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O2" } */

union B { int i; float f; };

extern void bar (void);

void
foo (union B x, union B y)
{
  if (!(y.f > x.i))
    bar ();
}