OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2009-03-29 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr35456.c
1
extern void abort (void);
2
3
double
4
__attribute__ ((noinline))
5
not_fabs (double x)
6
{
7
return x >= 0.0 ? x : -x;
8
}
9
10
int main()
11
{
12
double x = -0.0;
13
double y;
14
15
y = not_fabs (x);
16
17
if (!__builtin_signbit (y))
18
abort();
19
20
return 0;
21
}