Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
();
}