This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Sanity checking + hashing fix
- From: Jason Merrill <jason at redhat dot com>
- To: law at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Jun 2003 18:38:46 -0400
- Subject: Re: [tree-ssa] Sanity checking + hashing fix
- References: <200306122128.h5CLSZG7021638@speedy.slc.redhat.com>
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