summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-16 03:10:37 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-16 03:10:37 +0000
commit43317e6330c6c2796e8a2a2d153fba8263d3252a (patch)
tree6f1d582abbf8417312c5fa5288c48a8028cfda44 /gcc
parentaeda7a788d338028c3db17c9f8d8139ebb14fe3b (diff)
downloadgcc-43317e6330c6c2796e8a2a2d153fba8263d3252a.tar.gz
PR testsuite/12325
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/torture/builtin-attr-1.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2c6e91791fb..d385f89beef 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c b/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c
index a2dfe5a0aa7..926f8ed1981 100644
--- a/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c
+++ b/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c
@@ -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)