public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/5481: Making Cyclone 0.2 with gcc-3.0.3 compiler produces bad cyclone compiler executable.
@ 2002-01-24 13:38 rodrigc
0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-01-24 13:38 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, mwg, nobody
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c/5481: Making Cyclone 0.2 with gcc-3.0.3 compiler produces bad cyclone compiler executable.
@ 2002-02-22 21:05 rodrigc
0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-02-22 21:05 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, mwg, nobody
Synopsis: Making Cyclone 0.2 with gcc-3.0.3 compiler produces bad cyclone compiler executable.
State-Changed-From-To: analyzed->closed
State-Changed-By: rodrigc
State-Changed-When: Fri Feb 22 20:55:00 2002
State-Changed-Why:
I can reproduce your error with gcc 3.0.4.
However, with gcc 3.1, the compiler complains with:
gcc -O3 -c -o i586-unknown-linux/lib/arg.o i586-unknown-linux/lib/arg.c
i586-unknown-linux/lib/arg.c: In function `Cyc_Arg_parse':
i586-unknown-linux/lib/arg.c:478: void value not ignored as it ought to be
gmake[1]: *** [i586-unknown-linux/lib/arg.o] Error 1
gmake[1]: Leaving directory `/home/craigr/testcases/cyclone/bin/genfiles
Looks like the AT&T people need to help you out with this.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5481
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-23 4:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-24 13:38 c/5481: Making Cyclone 0.2 with gcc-3.0.3 compiler produces bad cyclone compiler executable rodrigc
2002-02-22 21:05 rodrigc
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).