c/4014: gcc reports internal erro when compiling file bafio.c

rodrigc@gcc.gnu.org rodrigc@gcc.gnu.org
Fri Dec 7 17:36:00 GMT 2001


The following reply was made to PR c/4014; it has been noted by GNATS.

From: rodrigc@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  nobody@gcc.gnu.org, rodrigc@gcc.gnu.org, visser@cs.uu.nl
Cc:  
Subject: Re: c/4014: gcc reports internal erro when compiling file bafio.c
Date: 8 Dec 2001 01:32:56 -0000

 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



More information about the Gcc-prs mailing list