c90-const-expr-3.c: xfail all the ASSERT_NOT_NPC tests.
authorGeoffrey Keating <geoffk@redhat.com>
Sun, 24 Oct 2004 20:59:29 +0000 (20:59 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Sun, 24 Oct 2004 20:59:29 +0000 (20:59 +0000)
* gcc.dg/c90-const-expr-3.c: xfail all the ASSERT_NOT_NPC tests.
* gcc.dg/c99-const-expr-3.c: Likewise.

From-SVN: r89511

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c90-const-expr-3.c
gcc/testsuite/gcc.dg/c99-const-expr-3.c

index cc666b6d33083363e00362b4a8dc8b4657388212..2463161a060c92838ccc71c49129b8136c8a508c 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-24  Geoffrey Keating  <geoffk@redhat.com>
+
+       * gcc.dg/c90-const-expr-3.c: xfail all the ASSERT_NOT_NPC tests.
+       * gcc.dg/c99-const-expr-3.c: Likewise.
+
 2004-10-23  Andrew Pinski  <pinskia@physics.uc.edu>.
 
        * gcc.dg/tree-ssa/loop-1.c: Add -static for *-*-darwin*.
index 84c662c62a7f83e1da2d43a0549d354d72cec02c..010eaf4776bcf1637efe527d8e9074a02579d12d 100644 (file)
@@ -25,7 +25,7 @@ void
 foo (void)
 {
   ASSERT_NPC (0);
-  ASSERT_NOT_NPC (ZERO);
+  ASSERT_NOT_NPC (ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NPC (0 + 0);
   ASSERT_NOT_NPC (ZERO + 0); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NOT_NPC (ZERO + ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
@@ -34,11 +34,11 @@ foo (void)
   ASSERT_NPC (-0);
   ASSERT_NOT_NPC (-ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NPC ((char) 0);
-  ASSERT_NOT_NPC ((char) ZERO);
+  ASSERT_NOT_NPC ((char) ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NPC ((int) 0);
-  ASSERT_NOT_NPC ((int) ZERO);
+  ASSERT_NOT_NPC ((int) ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NPC ((int) 0.0);
-  ASSERT_NOT_NPC ((int) DZERO);
+  ASSERT_NOT_NPC ((int) DZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NOT_NPC ((int) +0.0); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NOT_NPC ((int) (0.0+0.0)); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NOT_NPC ((int) (double)0.0); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
index f230603332be3256fc0be6c26d08d12dc1e0c8ed..cbf6da3b307f86ba4860d1ace72c22eaecedbb73 100644 (file)
@@ -25,7 +25,7 @@ void
 foo (void)
 {
   ASSERT_NPC (0);
-  ASSERT_NOT_NPC (ZERO);
+  ASSERT_NOT_NPC (ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NPC (0 + 0);
   ASSERT_NOT_NPC (ZERO + 0); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NOT_NPC (ZERO + ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
@@ -34,11 +34,11 @@ foo (void)
   ASSERT_NPC (-0);
   ASSERT_NOT_NPC (-ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NPC ((char) 0);
-  ASSERT_NOT_NPC ((char) ZERO);
+  ASSERT_NOT_NPC ((char) ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NPC ((int) 0);
-  ASSERT_NOT_NPC ((int) ZERO);
+  ASSERT_NOT_NPC ((int) ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NPC ((int) 0.0);
-  ASSERT_NOT_NPC ((int) DZERO);
+  ASSERT_NOT_NPC ((int) DZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NOT_NPC ((int) +0.0); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NOT_NPC ((int) (0.0+0.0)); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */
   ASSERT_NOT_NPC ((int) (double)0.0); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* } } */