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
2011-10-19 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr41094.c
1
/* { dg-do run } */
2
/* { dg-options "-ffast-math" } */
3
4
#include <math.h>
5
6
extern void abort (void);
7
8
double foo(void)
9
{
10
double x = -4.0;
11
return pow (x * x, 0.25);
12
}
13
14
int main()
15
{
16
if (foo() != 2.0)
17
abort ();
18
return 0;
19
}