This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimizer bug, latest version of egcs ( 0 && 0 => 1 )
- To: richard dot earnshaw at arm dot com
- Subject: Re: optimizer bug, latest version of egcs ( 0 && 0 => 1 )
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 24 Mar 1999 23:38:07 -0700
- cc: Deborah Wallach <kerr at pa dot dec dot com>, egcs-bugs at cygnus dot com, grunwald at pa dot dec dot com, egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <199903231552.PAA09252@sun52.NIS.cambridge>you write:
> The problem seems to lie in make_range, which is stripping off the cast
> information before saving it. Here's a tentative patch which seems to fix
> the problem as reported.
>
> Would someone with better knowledge of rtl generation care to comment?
>
> Richard
>
> Tue Mar 23 15:45:25 1999 Richard Earnshaw (rearnsha@arm.com)
>
> * fold-const.c (make_range): If orig_type is unset, set it as soon as
> we know the type.
I installed my variant + the cleanup we discussed. Thanks!
jeff