From a143bf2747f3108a01d977100a64f6e8c30f24ab Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Thu, 29 Apr 2010 03:00:36 +0000 Subject: [PATCH] uninit-pred-1_b.C: Use dg-message instead of dg-excess-errors. * g++.dg/uninit-pred-1_b.C: Use dg-message instead of dg-excess-errors. * g++.dg/uninit-pred-2_b.C: Likewise. From-SVN: r158851 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/g++.dg/uninit-pred-1_b.C | 2 +- gcc/testsuite/g++.dg/uninit-pred-2_b.C | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f6628f87f31d..07e7e503609e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-04-28 Mike Stump + + * g++.dg/uninit-pred-1_b.C: Use dg-message instead of + dg-excess-errors. + * g++.dg/uninit-pred-2_b.C: Likewise. + 2010-04-28 Tobias Burnus PR fortran/18918 diff --git a/gcc/testsuite/g++.dg/uninit-pred-1_b.C b/gcc/testsuite/g++.dg/uninit-pred-1_b.C index 0d5b71ec8993..94a444d21ef5 100644 --- a/gcc/testsuite/g++.dg/uninit-pred-1_b.C +++ b/gcc/testsuite/g++.dg/uninit-pred-1_b.C @@ -41,7 +41,7 @@ __attribute__ ((always_inline)) int GetC (int *c) { void P (int64 t) { - int cc; /* { dg-excess-errors "note: 'cc' was declared here" } */ + int cc; /* { dg-message "note: 'cc' was declared here" } */ if (GetC (&cc) <= 0 ) /* return flag checked wrongly */ return; diff --git a/gcc/testsuite/g++.dg/uninit-pred-2_b.C b/gcc/testsuite/g++.dg/uninit-pred-2_b.C index 7259d8f95a46..5023fc50b6b2 100644 --- a/gcc/testsuite/g++.dg/uninit-pred-2_b.C +++ b/gcc/testsuite/g++.dg/uninit-pred-2_b.C @@ -40,7 +40,7 @@ __attribute__ ((always_inline)) bool GetC (int *c) { void P (int64 t) { - int cc; /* { dg-excess-errors "note" } */ + int cc; /* { dg-message "note: 'cc' was declared here" } */ if (GetC (&cc)) /* return flag checked wrongly */ return; -- 2.43.5