aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2013-04-02 10:20:03 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2013-04-02 10:20:03 +0000
commitec905ac03d7823eaa437d1bb881994bfd3338183 (patch)
tree8fc2b701039c13cf88ec66f0d59efb1dc21257d9
parent239eb04c47806962da9f42f7f197c719ab2a11e5 (diff)
downloadgcc-ec905ac03d7823eaa437d1bb881994bfd3338183.zip
gcc-ec905ac03d7823eaa437d1bb881994bfd3338183.tar.gz
gcc-ec905ac03d7823eaa437d1bb881994bfd3338183.tar.bz2
re PR c++/56725 (extra spaces in error message)
2013-04-02 Paolo Carlini <paolo.carlini@oracle.com> * obj-c++.dg/try-catch-13.mm: Update per PR56725. From-SVN: r197345
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/obj-c++.dg/try-catch-13.mm6
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 53dc7b0..7462483 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,8 +1,12 @@
+2013-04-02 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * obj-c++.dg/try-catch-13.mm: Update per PR56725.
+
2013-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/56660
* gfortran.dg/namelist_82.f90: New test.
-
+
2013-04-01 Janus Weil <janus@gcc.gnu.org>
PR fortran/56500
diff --git a/gcc/testsuite/obj-c++.dg/try-catch-13.mm b/gcc/testsuite/obj-c++.dg/try-catch-13.mm
index 905702f..776d57b 100644
--- a/gcc/testsuite/obj-c++.dg/try-catch-13.mm
+++ b/gcc/testsuite/obj-c++.dg/try-catch-13.mm
@@ -22,7 +22,7 @@ extern void some_func (int *);
typeof(q) k = 66;
some_func (&j);
/* { dg-error "invalid conversion" "" { target *-*-* } 23 } */
-/* { dg-error "initializing argument" "" { target *-*-* } 12 } */
+/* { dg-message "initializing argument" "" { target *-*-* } 12 } */
some_func (&k);
}
@catch (id exc) {
@@ -39,7 +39,7 @@ extern void some_func (int *);
/* { dg-error "invalid conversion" "" { target *-*-* } 38 } */
/* The following is disabled as it is already checked above and the testsuites seems
to count multiple different identical errors on the same line only once */
-/* dg-error "initializing argument" "" { target *-*-* } 12 */
+/* dg-message "initializing argument" "" { target *-*-* } 12 */
}
@catch (id exc) {
@throw;
@@ -54,7 +54,7 @@ extern void some_func (int *);
/* { dg-error "invalid conversion" "" { target *-*-* } 53 } */
/* The following is disabled as it is already checked above and the testsuites seems
to count multiple different identical errors on the same line only once */
-/* dg-error "initializing argument" "" { target *-*-* } 12 */
+/* dg-message "initializing argument" "" { target *-*-* } 12 */
some_func (&k);
}
@catch (id exc) {