This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[commited] Fix up testcase
- From: Marek Polacek <polacek at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 4 Dec 2013 16:56:35 +0100
- Subject: [commited] Fix up testcase
- Authentication-results: sourceware.org; auth=none
I'm applying the following as obvious, GCC 4.7 doesn't grok -Wpedantic.
Sorry for not testing that properly.
2013-12-04 Marek Polacek <polacek@redhat.com>
PR c/59351
testsuite/
* gcc.dg/pr59351.c: Use -pedantic instead of -Wpedantic.
--- gcc/testsuite/gcc.dg/pr59351.c.mp3 2013-12-04 16:49:17.232824975 +0100
+++ gcc/testsuite/gcc.dg/pr59351.c 2013-12-04 16:49:30.380873769 +0100
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-std=c99 -Wpedantic" } */
+/* { dg-options "-std=c99 -pedantic" } */
unsigned int
foo (void)
Marek