diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-08 17:05:06 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-08 17:05:06 +0000 |
commit | 79ad476b4cc6df590834271212a04efa8a046caa (patch) | |
tree | 920f90765addca18a2bdf72c385d372b9fe6a68a | |
parent | 292043b0bf0a2d969cfff878a158d8fc3bc28f5a (diff) |
Correct SVN conversion errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/csl-3_4_3-linux-branch@106644 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/fixinc/tests/base/internal/math_core.h | 30 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/loop-2f.x | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/loop-2g.x | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20030121-1.c | 8 |
4 files changed, 40 insertions, 0 deletions
diff --git a/gcc/fixinc/tests/base/internal/math_core.h b/gcc/fixinc/tests/base/internal/math_core.h index e69de29bb2d..f39ac3f90cf 100644 --- a/gcc/fixinc/tests/base/internal/math_core.h +++ b/gcc/fixinc/tests/base/internal/math_core.h @@ -0,0 +1,30 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/internal/math_core.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( IRIX___GENERIC1_CHECK ) +extern int isnan(double); +extern int isnanf(float); +extern int isnanl(long double); +#define isnan(x) (sizeof(x) == sizeof(double) ? _isnan(x) \ + : sizeof(x) == sizeof(float) ? _isnanf(x) \ + : _isnanl(x)) + + +#endif /* IRIX___GENERIC1_CHECK */ + + +#if defined( IRIX___GENERIC2_CHECK ) +#define isless(x,y) \ + ((sizeof(x)<=4 && sizeof(y)<=4) ? _islessf(x,y) \ + : (sizeof(x)<=8 && sizeof(y)<=8) ? _isless(x,y) \ + : _islessl(x,y)) + +#endif /* IRIX___GENERIC2_CHECK */ diff --git a/gcc/testsuite/gcc.c-torture/execute/loop-2f.x b/gcc/testsuite/gcc.c-torture/execute/loop-2f.x index 48bc33bc4c1..727bb06961b 100644 --- a/gcc/testsuite/gcc.c-torture/execute/loop-2f.x +++ b/gcc/testsuite/gcc.c-torture/execute/loop-2f.x @@ -1,2 +1,3 @@ # Fails when test is run as ld-linux.so.2 --library-path .... set torture_execute_xfail "i586-wrs-linux-gnu" +return 0 diff --git a/gcc/testsuite/gcc.c-torture/execute/loop-2g.x b/gcc/testsuite/gcc.c-torture/execute/loop-2g.x index 48bc33bc4c1..727bb06961b 100644 --- a/gcc/testsuite/gcc.c-torture/execute/loop-2g.x +++ b/gcc/testsuite/gcc.c-torture/execute/loop-2g.x @@ -1,2 +1,3 @@ # Fails when test is run as ld-linux.so.2 --library-path .... set torture_execute_xfail "i586-wrs-linux-gnu" +return 0 diff --git a/gcc/testsuite/gcc.dg/20030121-1.c b/gcc/testsuite/gcc.dg/20030121-1.c index e69de29bb2d..212d875cbd2 100644 --- a/gcc/testsuite/gcc.dg/20030121-1.c +++ b/gcc/testsuite/gcc.dg/20030121-1.c @@ -0,0 +1,8 @@ +/* { dg-do compile { target powerpc*-*-darwin* } } */ +/* { dg-options "-O2 -force_cpusubtype_ALL -mpowerpc64" } */ + +long long (*y)(int t); +long long get_alias_set (int t) +{ + return y(t); +} |