[PATCH] Fix ICE in fold-const.c
Jason Merrill
jason@redhat.com
Mon May 17 18:01:00 GMT 2004
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
More information about the Gcc-patches
mailing list