I see massive failures of objc on i686-apple-darwin9:

                === objc Summary for unix ===

# of expected passes            2894
# of unexpected failures        84
# of expected failures          7
# of unresolved testcases       75
# of unsupported tests          2

                === objc Summary for unix/-m64 ===

# of expected passes            799
# of unexpected failures        569
# of expected failures          7
# of unresolved testcases       465
# of unsupported tests          2

                === objc Summary ===

# of expected passes            3693
# of unexpected failures        653
# of expected failures          14
# of unresolved testcases       540
# of unsupported tests          4
/opt/gcc/i686-darwin/gcc/xgcc  version 4.3.0 20080210 (experimental) (GCC)

Many of these failures come from:

Executing on host: /opt/gcc/i686-darwin/gcc/xgcc -B/opt/gcc/i686-darwin/gcc/
/opt/gcc/gcc-4.3-work/gcc/testsuite/objc/execute/bycopy-1.m  -w  -O0 
-fnext-runtime  -lobjc -lm   -o
/opt/gcc/i686-darwin/gcc/testsuite/objc/bycopy-1.x6    (timeout = 300)
In file included from
/opt/gcc/gcc-4.3-work/gcc/testsuite/objc/execute/bycopy-1.m:7:^M
/usr/include/objc/Protocol.h:46: error: expected ';' before '__attribute__'^M
/usr/include/objc/Protocol.h:50: error: expected ';' before '__attribute__'^M
/usr/include/objc/Protocol.h:54: error: expected ';' before '__attribute__'^M
/usr/include/objc/Protocol.h:55: error: expected ';' before '__attribute__'^M
compiler exited with status 1

These failures do not appear in Darwin8 and I get:

[ibook-dhum] dominiq/test% grep "/usr/include/objc/Protocol.h:46: error:
expected" /opt/gcc/i686-darwin/gcc/testsuite/objc/objc.log | wc
     318    1908   24476

The faulty lines in /usr/include/objc/Protocol.h start with a '-' sign as in:

- (const char *)name OBJC2_UNAVAILABLE;

but similar constructs appear (and were accepted) in Darwin8.


-- 
           Summary: Massive failures of objc on i686-apple-darwin9
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: objc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: i686-apple-darwin9
  GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9


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

Reply via email to