When built under Darwin9, the objc testsuite exhibits a number of regressions
compared to Darwin8 due to compilation errors of "expected ';' before
'__attribute__'". These new failures include...

objc/execute/bycopy-1.m compilation
objc/execute/bycopy-2.m compilation
objc/execute/bycopy-3.m compilation
objc/execute/formal_protocol-5.m compilation
objc/execute/formal_protocol-6.m compilation
objc/execute/formal_protocol-7.m compilation
objc/execute/np-1.m compilation
objc/execute/np-2.m compilation
objc/execute/protocol-isEqual-1.m compilation
objc/execute/protocol-isEqual-2.m compilation
objc/execute/protocol-isEqual-3.m compilation
objc/execute/protocol-isEqual-4.m compilation
objc.dg/encode-3.m (test for excess errors)
objc.dg/headers.m (test for excess errors)
objc.dg/method-6.m (test for excess errors)
objc.dg/no-extra-load.m (test for excess errors)
objc.dg/proto-lossage-3.m (test for excess errors)
objc.dg/proto-qual-1.m (test for excess errors)

All of these errors are of the form...

In file included from
/sw/src/fink.build/gcc43-4.2.999-20071130/gcc-4.3-20071130/gcc/testsuite/objc/execute/bycopy-1
.m:7:
/usr/include/objc/Protocol.h:46: error: expected ';' before '__attribute__'
/usr/include/objc/Protocol.h:50: error: expected ';' before '__attribute__'
/usr/include/objc/Protocol.h:54: error: expected ';' before '__attribute__'
/usr/include/objc/Protocol.h:55: error: expected ';' before '__attribute__'
compiler exited with status 1
output is:
In file included from
/sw/src/fink.build/gcc43-4.2.999-20071130/gcc-4.3-20071130/gcc/testsuite/objc/execute/bycopy-1
.m:7:
/usr/include/objc/Protocol.h:46: error: expected ';' before '__attribute__'
/usr/include/objc/Protocol.h:50: error: expected ';' before '__attribute__'
/usr/include/objc/Protocol.h:54: error: expected ';' before '__attribute__'
/usr/include/objc/Protocol.h:55: error: expected ';' before '__attribute__'

FAIL: objc/execute/bycopy-1.m compilation,  -O0  -fnext-runtime


-- 
           Summary: new objc testsuite failures from "expected ';' before
                    '__attribute__'" under darwin9
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: objc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
  GCC host triplet: powerpc-apple-darwin9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34310

Reply via email to