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
* expmed.c (flip_storage_order): Deal with complex modes specially.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
980709-1.c
blob
54b3bbc7cf9f1a481638421eb5970756addf9f8e
1
/* { dg-xfail-if "Can not call system libm.a with -msoft-float" { powerpc-*-aix* rs6000-*-aix* } { "-msoft-float" } { "" } } */
2
#include <math.h>
3
4
main
()
5
{
6
volatile
double
a
;
7
double
c
;
8
a
=
32.0
;
9
c
=
pow
(
a
,
1.0
/
3.0
);
10
if
(
c
+
0.1
>
3.174802
11
&&
c
-
0.1
<
3.174802
)
12
exit
(
0
);
13
else
14
abort
();
15
}