re PR testsuite/12325 (gcc.dg/torture/builtin-attr-1.c assumes all targets support...
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 16 Jan 2007 03:10:37 +0000 (03:10 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 16 Jan 2007 03:10:37 +0000 (03:10 +0000)
PR testsuite/12325
* gcc.dg/torture/builtin-attr-1.c: Handle warnings from
targets that don't support Inf.

From-SVN: r120818

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

index 2c6e91791fb6dfccfc9d9b5d43b9fd430174fced..d385f89beefc066876a1e24e51a71c2a2223eea4 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 a2dfe5a0aa72354e2eda81d1798e79626f57cfcd..926f8ed1981b442bd1a9d0e3c8436ccce47b7bcb 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)