OSDN Git Service

PR testsuite/12325
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jan 2007 03:10:37 +0000 (03:10 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jan 2007 03:10:37 +0000 (03:10 +0000)
* gcc.dg/torture/builtin-attr-1.c: Handle warnings from
targets that don't support Inf.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120818 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/builtin-attr-1.c

index 2c6e917..d385f89 100644 (file)
@@ -1,3 +1,9 @@
+2007-01-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       PR testsuite/12325
+       * gcc.dg/torture/builtin-attr-1.c: Handle warnings from
+       targets that don't support Inf.
+
 2007-01-15  Dale Johannesen  <dalej@apple.com>
 
        * gcc.dg/tree-ssa/loop-3.c:  Disable with -fpic or -fPIC.
index a2dfe5a..926f8ed 100644 (file)
@@ -339,7 +339,7 @@ FPTEST2            (fmod)
 BUILTIN_FPTEST0    (huge_val)
 FPTEST2            (hypot)
 FPTEST1T           (ilogb, int)
-BUILTIN_FPTEST0    (inf)
+BUILTIN_FPTEST0    (inf) /* { dg-warning "does not support infinity" "INF unsupported" { target vax-*-* c4x-*-* pdp11-*-* spu-*-* } } */
 FPTEST1            (j0)
 FPTEST1            (j1)
 FPTEST2ARG1        (jn, int)