This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xfail remaining c9?-const-expr-3 failures


As far as I can tell, the tests that are not xfailed are failing
because of the same reason the ones that are xfailed are failing.


===File ~/patches/gcc-testsuite-c9xconst3xfail.patch========
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.

Index: gcc.dg/c90-const-expr-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/c90-const-expr-3.c,v
retrieving revision 1.3
diff -u -p -r1.3 c90-const-expr-3.c
--- gcc.dg/c90-const-expr-3.c	1 Jul 2003 12:01:44 -0000	1.3
+++ gcc.dg/c90-const-expr-3.c	24 Oct 2004 20:56:13 -0000
@@ -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: gcc.dg/c99-const-expr-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/c99-const-expr-3.c,v
retrieving revision 1.3
diff -u -p -r1.3 c99-const-expr-3.c
--- gcc.dg/c99-const-expr-3.c	1 Jul 2003 12:01:44 -0000	1.3
+++ gcc.dg/c99-const-expr-3.c	24 Oct 2004 20:56:13 -0000
@@ -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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]