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]

[commited] Fix up testcase


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]