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: [tree-ssa] Sanity checking + hashing fix


On Thu, 12 Jun 2003 15:28:35 -0600, law@redhat.com wrote:

> operand_equal_p doesn't look at the types of NOP_EXPRs and friends --
> it looks at the signedness of the type and the object being converted.  
>
> iterative_hash_expr hashed the type using the type's address.

I dealt with this by checking type identity in gimple_tree_eq before
handing off to operand_equal_p.  I don't think we want to ignore type
differences.

Jason


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