From 7fb4b8b80b4cfdff89af207f24b4e67e09daeefc Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Wed, 4 Dec 2013 15:54:48 +0000 Subject: [PATCH] re PR c/59351 (ICE on empty compound literal with -pedantic) PR c/59351 testsuite/ * gcc.dg/pr59351.c: Use -pedantic instead of -Wpedantic. From-SVN: r205673 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/pr59351.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2b24ea544f60..1f39f7c2080a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-12-04 Marek Polacek + + PR c/59351 + * gcc.dg/pr59351.c: Use -pedantic instead of -Wpedantic. + 2013-12-03 Marek Polacek Backport from mainline diff --git a/gcc/testsuite/gcc.dg/pr59351.c b/gcc/testsuite/gcc.dg/pr59351.c index 384058f40418..48c8f17ce60e 100644 --- a/gcc/testsuite/gcc.dg/pr59351.c +++ b/gcc/testsuite/gcc.dg/pr59351.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-std=c99 -Wpedantic" } */ +/* { dg-options "-std=c99 -pedantic" } */ unsigned int foo (void) -- 2.47.2