1 /* Copyright (C) 2004 Free Software Foundation.
3 Ensure that the composite comparison optimization doesn't misfire
4 and attempt to combine an integer comparison with a floating-point one.
6 Written by Paolo Bonzini, 26th May 2004. */
8 extern void abort (void);
11 foo (double x
, double y
)
13 /* If miscompiled the following may become false. */
14 return (x
> y
) && ((int)x
== (int)y
);