This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/4014: gcc reports internal erro when compiling file bafio.c
- From: rodrigc at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rodrigc at gcc dot gnu dot org, visser at cs dot uu dot nl
- Date: 8 Dec 2001 01:32:56 -0000
- Subject: Re: c/4014: gcc reports internal erro when compiling file bafio.c
Synopsis: gcc reports internal erro when compiling file bafio.c
State-Changed-From-To: open->analyzed
State-Changed-By: rodrigc
State-Changed-When: Fri Dec 7 17:32:56 2001
State-Changed-Why:
Reproduced in gcc 3.0.3.
The compiler segfaults here:
Program received signal SIGSEGV, Segmentation fault.
0x082933cd in make_reorder_chain_1 (bb=0x841a1d0, prev=0x841a110)
at bb-reorder.c:416
416 next = (taken ? e_taken : e_fall)->dest;
In gcc 3.1, the compiler does not segfault but produces
these compilation errors:
bafio.c: In function `ATwriteToNamedBinaryFile':
bafio.c:1215: parse error before "u"
bafio.c:1216: parse error before ')' token
bafio.c:1216: `cons' undeclared (first use in this function)
bafio.c:1216: (Each undeclared identifier is reported only once
bafio.c:1216: for each function it appears in.)
bafio.c:1216: parse error before '!' token
bafio.c:1217: syntax error before '!' token
bafio.c:1218: `__result' undeclared (first use in this function)
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4014&database=gcc