This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Committed] Fix gcc.dg/pr14963.c
- From: Andrew Pinski <apinski at apple dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 28 Jun 2004 20:18:07 -0700
- Subject: [Committed] Fix gcc.dg/pr14963.c
I had messed up the testcase gcc.dg/pr14963.c when I committed
this testcase as I did not test the testcase with -pedantic
-pedantic-errors
like the testsuite does. This patch fixes this error in the testsuite
and now the testcase now passes.
-Andrew
2004-06-28 Andrew Pinski <apinski@apple.com>
* gcc.dg/pr14963.c: Remove the dg-warning as it is dected
by the error already.
Index: gcc.dg/pr14963.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/pr14963.c,v
retrieving revision 1.1
diff -u -p -r1.1 pr14963.c
--- gcc.dg/pr14963.c 27 Jun 2004 20:58:34 -0000 1.1
+++ gcc.dg/pr14963.c 29 Jun 2004 03:17:47 -0000
@@ -1,3 +1 @@
X Y(Z); /* { dg-error "" "error before" } */
-/* { dg-warning "" "parameter names" { target *-*-* } 1 } */
-/* { dg-warning "" "data definition" { target *-*-* } 1 } */