http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49287
Summary: [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors) FAIL: objc.dg/gnu-api-2-(objc.m -fnext-runtime (test for excess errors) Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassig...@gcc.gnu.org ReportedBy: domi...@lps.ens.fr CC: nicola.p...@meta-innovation.com Host: *-apple-darwin* Target: *-apple-darwin* Build: *-apple-darwin* Since revision 174586 I see the following failures on darwin FAIL: obj-c++.dg/gnu-api-2-class.mm -fnext-runtime (test for excess errors) FAIL: obj-c++.dg/gnu-api-2-objc.mm -fnext-runtime (test for excess errors) FAIL: objc.dg/gnu-api-2-class.m -fnext-runtime (test for excess errors) FAIL: objc.dg/gnu-api-2-objc.m -fnext-runtime (test for excess errors) with both -m32 and -m64. Revision 174574 is OK (see http://gcc.gnu.org/ml/gcc-testresults/2011-06/msg00264.html ). This is likely due to revision 174575 > * objc-act.c (objc_finish_message_expr): Warn if messaging a class > that was only declared using @class without an @interface. Warn > if messaging an instance of a class that was only declared using > @class without an @interface, unless the receiver was also typed > with a protocol list.