Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
iftrap-3.c
blob: 52278e145dbcfd81c370fc25ce7976b4015701bc [
file
] [
log
] [
blame
]
/* Check that the conditional_trap pattern handles floating-point
comparisons correctly. */
void
f1
(
float
x
,
float
y
)
{
if
(
x
==
y
)
__builtin_trap
();
}
void
f2
(
double
x
,
double
y
)
{
if
(
x
==
y
)
__builtin_trap
();
}