* xfail remaining c9?-const-expr-3 failures
@ 2004-10-25 2:25 Geoffrey Keating
0 siblings, 0 replies; only message in thread
From: Geoffrey Keating @ 2004-10-25 2:25 UTC (permalink / raw)
To: gcc-patches
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 *-*-* } } */
============================================================
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-25 2:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-25 2:25 xfail remaining c9?-const-expr-3 failures Geoffrey Keating
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).