OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* gcc.dg/weak/typeof-2.c: Needs aliases as well as weak.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
fastmath-1.c
diff --git
a/gcc/testsuite/gcc.dg/fastmath-1.c
b/gcc/testsuite/gcc.dg/fastmath-1.c
index
d03d66c
..
4efe430
100644
(file)
--- a/
gcc/testsuite/gcc.dg/fastmath-1.c
+++ b/
gcc/testsuite/gcc.dg/fastmath-1.c
@@
-1,6
+1,8
@@
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math" } */
+extern void abort (void);
+
int foo ( float* dists, int k)
{
if ( ( dists [ 0 ] > 0 ) == ( dists [ 1 ] > 0 ) )
@@
-20,5
+22,5
@@
main() {
foo(&dists[14], 128)
!= 156)
abort();
+ return 0;
}
-