public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc/34310]  New: new objc testsuite failures from "expected ';' before '__attribute__'" under darwin9
@ 2007-12-01 20:32 howarth at nitro dot med dot uc dot edu
  2008-09-16 14:43 ` [Bug objc/34310] " dominiq at lps dot ens dot fr
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2007-12-01 20:32 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug objc/34310] new objc testsuite failures from "expected ';' before '__attribute__'" under darwin9
  2007-12-01 20:32 [Bug objc/34310] New: new objc testsuite failures from "expected ';' before '__attribute__'" under darwin9 howarth at nitro dot med dot uc dot edu
@ 2008-09-16 14:43 ` dominiq at lps dot ens dot fr
  2008-09-16 22:23 ` dominiq at lps dot ens dot fr
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-09-16 14:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dominiq at lps dot ens dot fr  2008-09-16 14:41 -------
As far as I can tell, all the lines corresponding to "...error: expected..."
start with a '-', but the same is true for Darwin8. Does anyone know what has
changed in Darwin9 that can explain the errors?


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug objc/34310] new objc testsuite failures from "expected ';' before '__attribute__'" under darwin9
  2007-12-01 20:32 [Bug objc/34310] New: new objc testsuite failures from "expected ';' before '__attribute__'" under darwin9 howarth at nitro dot med dot uc dot edu
  2008-09-16 14:43 ` [Bug objc/34310] " dominiq at lps dot ens dot fr
@ 2008-09-16 22:23 ` dominiq at lps dot ens dot fr
  2008-09-16 22:24 ` dominiq at lps dot ens dot fr
  2008-09-16 22:31 ` [Bug objc/34310] Attribute support for method pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-09-16 22:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dominiq at lps dot ens dot fr  2008-09-16 22:21 -------
/opt/gcc/i686-darwin/gcc/xgcc -B/opt/gcc/i686-darwin/gcc/
/opt/gcc/gcc-4.4-work/gcc/testsuite/objc/execute/bycopy-1.m -w -O0
-fnext-runtime -lobjc -lm -o
/opt/gcc/i686-darwin/gcc/testsuite/objc/bycopy-1.x1 -save-temps

gives

In file included from
/opt/gcc/gcc-4.4-work/gcc/testsuite/objc/execute/bycopy-1.m:8:
/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__'

I'll attach the preprocessed source.


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug objc/34310] new objc testsuite failures from "expected ';' before '__attribute__'" under darwin9
  2007-12-01 20:32 [Bug objc/34310] New: new objc testsuite failures from "expected ';' before '__attribute__'" under darwin9 howarth at nitro dot med dot uc dot edu
  2008-09-16 14:43 ` [Bug objc/34310] " dominiq at lps dot ens dot fr
  2008-09-16 22:23 ` dominiq at lps dot ens dot fr
@ 2008-09-16 22:24 ` dominiq at lps dot ens dot fr
  2008-09-16 22:31 ` [Bug objc/34310] Attribute support for method pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-09-16 22:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dominiq at lps dot ens dot fr  2008-09-16 22:22 -------
Created an attachment (id=16340)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16340&action=view)
preprocessed source


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug objc/34310] Attribute support for method
  2007-12-01 20:32 [Bug objc/34310] New: new objc testsuite failures from "expected ';' before '__attribute__'" under darwin9 howarth at nitro dot med dot uc dot edu
                   ` (2 preceding siblings ...)
  2008-09-16 22:24 ` dominiq at lps dot ens dot fr
@ 2008-09-16 22:31 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-16 22:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-09-16 22:30 -------


*** This bug has been marked as a duplicate of 7098 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-09-16 22:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-01 20:32 [Bug objc/34310] New: new objc testsuite failures from "expected ';' before '__attribute__'" under darwin9 howarth at nitro dot med dot uc dot edu
2008-09-16 14:43 ` [Bug objc/34310] " dominiq at lps dot ens dot fr
2008-09-16 22:23 ` dominiq at lps dot ens dot fr
2008-09-16 22:24 ` dominiq at lps dot ens dot fr
2008-09-16 22:31 ` [Bug objc/34310] Attribute support for method pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).