This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix ICE in fold-const.c


On Mon, 17 May 2004 00:00:27 -0400, Andrew Pinski <pinskia@physics.uc.edu> wrote:

> The front-ends are correctly converting it to be ! (a == 0) when passed
> to fold, the problem comes into play when trying to do a combine pass
> for tree-ssa, so combining c_1 = ! d_2 and d_2 = (bool)a_3 which gives
> ! (bool)a_3 and then passing that to fold which I assumed to do the
> right thing.  a is not of type boolean_type at all but integer_type.

So what happened to the (a == 0)?

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]