Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr35456.c
blob: 175a0b2abfa561a5a76e4a54ecd9104e89bdb753 [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
double
__attribute__
((
noinline
))
not_fabs
(
double
x
)
{
return
x
>=
0.0
?
x
:
-
x
;
}
int
main
()
{
double
x
=
-
0.0
;
double
y
;
y
=
not_fabs
(
x
);
if
(!
__builtin_signbit
(
y
))
abort
();
return
0
;
}