repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR ipa/61602
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr41094.c
blob
2a4e9616cbfad648715c6b6ed902940d8299f979
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
}