re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and warnings)
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Sat, 30 Jun 2007 13:06:45 +0000 (13:06 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Sat, 30 Jun 2007 13:06:45 +0000 (13:06 +0000)
commit1760a1a86bf459482fff422ef2e3fed4f28ac910
tree0bf10e90290c83a4cb2b7735b8feebb6cc540856
parent72eb00bc31e1d1cd7fac7f24a3b1f105c9e0551e
re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and warnings)

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.

From-SVN: r126146
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/20000625-1.c
gcc/testsuite/gcc.dg/cpp/arith-3.c
gcc/testsuite/gcc.dg/cpp/charconst.c
gcc/testsuite/gcc.dg/cpp/direct2.c
gcc/testsuite/gcc.dg/cpp/endif-pedantic2.c
gcc/testsuite/gcc.dg/cpp/escape-1.c
gcc/testsuite/gcc.dg/cpp/extratokens.c