Hello! A part of an error has been demoted to a note recently. Attached patch fixes a testcase in the obj-c++ testsuite.
2013-04-01 Uros Bizjak <ubiz...@gmail.com> * obj-c++.dg/try-catch-13.mm: Use dg-message for "initializing argument" note. Tested on x86_64-pc-linux-gnu. OK for mainline? Uros.
Index: obj-c++.dg/try-catch-13.mm =================================================================== --- obj-c++.dg/try-catch-13.mm (revision 197296) +++ obj-c++.dg/try-catch-13.mm (working copy) @@ -22,7 +22,7 @@ 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 @@ /* { 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 @@ /* { 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) {