This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/5481: Making Cyclone 0.2 with gcc-3.0.3 compiler produces bad cyclone compiler executable.
- From: rodrigc at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, mwg at fluffy dot isd dot dp dot ua, nobody at gcc dot gnu dot org
- Date: 24 Jan 2002 21:38:52 -0000
- Subject: Re: c/5481: Making Cyclone 0.2 with gcc-3.0.3 compiler produces bad cyclone compiler executable.
- Reply-to: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, mwg at fluffy dot isd dot dp dot ua, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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