https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36446
--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Mon Jun 9 20:33:51 2014 New Revision: 211388 URL: http://gcc.gnu.org/viewcvs?rev=211388&root=gcc&view=rev Log: PR c/36446 * c-typeck.c (error_init): Call inform instead of error_at. (pedwarn_init): Call inform instead of pedwarn. (warning_init): Call inform instead of warning_at. * gcc.dg/Wcxx-compat-6.c: Change dg-warning to dg-message. * gcc.dg/array-2.c: Likewise. * gcc.dg/array-const-2.c: Likewise. * gcc.dg/ucnid-8.c: Likewise. * gcc.dg/vla-init-1.c: Likewise. * gcc.dg/array-const-3.c: Change dg-error to dg-message. * gcc.dg/c99-flex-array-7.c: Likewise. * gcc.dg/init-bad-1.c: Likewise. * gcc.dg/init-bad-3.c: Likewise. * gcc.dg/init-bad-2.c: Change dg-error and dg-warning to dg-message. * gcc.dg/pedwarn-init.c: Add dg-warning. * gcc.dg/pr53119.c: Remove dg-excess-errors. Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-typeck.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/Wcxx-compat-6.c trunk/gcc/testsuite/gcc.dg/array-2.c trunk/gcc/testsuite/gcc.dg/array-const-2.c trunk/gcc/testsuite/gcc.dg/array-const-3.c trunk/gcc/testsuite/gcc.dg/c99-flex-array-7.c trunk/gcc/testsuite/gcc.dg/init-bad-1.c trunk/gcc/testsuite/gcc.dg/init-bad-2.c trunk/gcc/testsuite/gcc.dg/init-bad-3.c trunk/gcc/testsuite/gcc.dg/pedwarn-init.c trunk/gcc/testsuite/gcc.dg/pr53119.c trunk/gcc/testsuite/gcc.dg/ucnid-8.c trunk/gcc/testsuite/gcc.dg/vla-init-1.c