This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: internal compiler error (egcs-1.1.1 & egcs-1.1.2), cc1
- To: Paul Lai <plai at Lynx dot COM>
- Subject: Re: internal compiler error (egcs-1.1.1 & egcs-1.1.2), cc1
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Fri, 09 Apr 1999 02:22:47 -0600
- cc: egcs-bugs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <37012884.44F7C9A1@lynx.com>you write:
> This is a multi-part message in MIME format.
> --------------F2A0B864A02D11D7BF9978F9
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> The attached simple testcase causes an internal compiler error.
> egcs-1.1.1 & egcs-1.1.2 are both being tested under i386-pc-linux
> (redhat 5.1).
> FSF 2.8.1 does not emit an error with this testcase.
>
> The problem appears to be in
> egcs-1.1.2/gcc/expr.c:expand_expr() lines 6189 -- 6216
> These lines do not appear in FSF 281 and when removed, seem to make
> the compiler happier.
> But, what is lost if these lines are removed (besides the compiler
> internal error)?
Thanks, this bug has been fixed in the mainline sources.
You merely lose optimziations by removing those lines in your local sources.
jeff