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-06-29 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20080502-1.c
1
/* PR target/36090 */
2
3
extern void abort (void);
4
5
long double __attribute__ ((noinline)) foo (long double x)
6
{
7
return __builtin_signbit (x) ? 3.1415926535897932384626433832795029L : 0.0;
8
}
9
10
int
11
main (void)
12
{
13
if (foo (-1.0L) != 3.1415926535897932384626433832795029L)
14
abort ();
15
return 0;
16
}