This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/5481: Making Cyclone 0.2 with gcc-3.0.3 compiler produces bad cyclone compiler executable.


Synopsis: Making Cyclone 0.2 with gcc-3.0.3 compiler produces bad cyclone compiler executable.

State-Changed-From-To: open->analyzed
State-Changed-By: rodrigc
State-Changed-When: Thu Jan 24 13:38:51 2002
State-Changed-Why:
    I could reproduce your problem with gcc 3.0.3.
    However, the cyclone executable is crashing, not gcc itself.
    
    This could be a bug in gcc,
    but, I am not entirely convinced that the
    cyclone code is bug free.
    
    Can you edit your Makefile.inc file, and change the CFLAGS
    line to:
    CFLAGS=-g -w -pedantic 
    
    You can also change it to:
    CFLAGS=-g -Wall -pedantic 
    
    You will get many, many warnings, and the following error:
    gcc -g -w -pedantic -c -o i686-unknown-linux/src/tcexp.o i686-unknown-linux/src/tcexp.c
    i686-unknown-linux/src/tcexp.c: In function `Cyc_Tcexp_tcComprehension':
    i686-unknown-linux/src/tcexp.c:2296: invalid lvalue in unary `&'
    i686-unknown-linux/src/tcexp.c: In function `Cyc_Tcexp_tcExpNoInst':
    i686-unknown-linux/src/tcexp.c:2978: invalid lvalue in unary `&'
    gmake[1]: *** [i686-unknown-linux/src/tcexp.o] Error 1
    
    The AT&T people should try to help you on this.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5481


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]