This is the mail archive of the
mailing list for the GCC project.
Re: [tree-ssa] bootstrap problem on powerpc-apple-darwin6.6
- From: law at redhat dot com
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: jason at redhat dot com (Jason Merrill), dberlin at dberlin dot org (Daniel Berlin), gcc at gcc dot gnu dot org
- Date: Thu, 21 Aug 2003 21:46:36 -0600
- Subject: Re: [tree-ssa] bootstrap problem on powerpc-apple-darwin6.6
- Reply-to: law at redhat dot com
In message <200308220230.h7M2Ut528748@tin.geop.uc.edu>, Andrew Pinski writes:
>> On Thu, 21 Aug 2003 20:01:03 -0400 (EDT), Andrew Pinski <firstname.lastname@example.org
>> > + && TYPE_MIN_VALUE (inner_type) == TYPE_MIN_VALUE (outer_ty
>> > + && TYPE_MAX_VALUE (inner_type) == TYPE_MAX_VALUE (outer_ty
>> These are trees, which can't be reliably compared with ==. It's probably
>> simpler to just compare TYPE_PRECISION.
>You are right I should have checked to make sure that they were not trees.
>Here is a newer patch which compares the TYPE_PRECISION and it adds some comm
>about the problem so this part will not be reverted or if we see another plac
>can point them to here.
> * tree-ssa.c (tree_ssa_useless_type_conversion): Check also the precisi
> the type to make sure they are really useless type conversions.
Looks pretty good. I probably shouldn't have mentioned a system explicitly,
but just the characteristics of the system/problem. But that's a nit.