[Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 30 13:07:00 GMT 2007
------- Comment #55 from manu at gcc dot gnu dot org 2007-06-30 13:06 -------
Subject: Bug 25241
Author: manu
Date: Sat Jun 30 13:06:45 2007
New Revision: 126146
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126146
Log:
2007-06-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR testsuite/25241
testsuite/
* gcc.dg/cpp/20000625-1.c: Without dg-options the default is
-pedantic-errors, so we should match errors.
* gcc.dg/cpp/escape-1.c: Likewise.
* gcc.dg/cpp/charconst.c: Empty character constants are errors.
* gcc.dg/cpp/direct2.c: This is a mandatory error instead of a
warning.
* gcc.dg/cpp/endif-pedantic2.c: Use -pedantic-errors to obtain
errors instead of warnings.
* gcc.dg/cpp/extratokens.c: Use dg-warning instead of dg-error for
a pedantic warning.
* gcc.dg/cpp/arith-3.c: Likewise.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/cpp/20000625-1.c
trunk/gcc/testsuite/gcc.dg/cpp/arith-3.c
trunk/gcc/testsuite/gcc.dg/cpp/charconst.c
trunk/gcc/testsuite/gcc.dg/cpp/direct2.c
trunk/gcc/testsuite/gcc.dg/cpp/endif-pedantic2.c
trunk/gcc/testsuite/gcc.dg/cpp/escape-1.c
trunk/gcc/testsuite/gcc.dg/cpp/extratokens.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241
More information about the Gcc-bugs
mailing list