[patch] convert.c: Fix PR tree-optimization/17512.
Steven Bosscher
stevenb@suse.de
Wed Sep 22 13:55:00 GMT 2004
On Sep 22, 2004 02:30 PM, Diego Novillo <dnovillo@redhat.com> wrote:
> On Thu, 2004-09-16 at 09:56, Kazu Hirata wrote:
>
> > The patch simply removes a piece of code in convert_to_integer()
> > that
> > creates TRUTH_*_EXPR of whatever integer types that the caller
> > requests.
> >
> Why not tell invert_truthvalue() to accept INTEGRAL_TYPE_P instead of
> just boolean? I can't think of a reason why we shouldn't accept any
> integral values for TRUTH_*_EXPR (nonzero is true, zero is false).
What is the point of having boolean types at all, then?
Gr.
Steven
More information about the Gcc-patches
mailing list