This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][LTO] Fix type hashing for fortran
- From: Diego Novillo <dnovillo at google dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 16 Oct 2009 07:12:15 -0400
- Subject: Re: [PATCH][LTO] Fix type hashing for fortran
- References: <alpine.LNX.2.00.0910161121370.4520@zhemvz.fhfr.qr>
On Fri, Oct 16, 2009 at 05:25, Richard Guenther <rguenther@suse.de> wrote:
> ! Â /* For integer types hash the types min/max values and the string flag. Â*/
> ! Â if (TREE_CODE (type) == INTEGER_TYPE)
> ! Â Â {
> ! Â Â Â v = iterative_hash_expr (TYPE_MIN_VALUE (type), v);
> ! Â Â Â v = iterative_hash_expr (TYPE_MAX_VALUE (type), v);
> ! Â Â Â v = iterative_hash_hashval_t (TYPE_STRING_FLAG (type), v);
> ! Â Â }
This brings back a memory from the initial versions of this hashing
function. I think at some point I used to compute this into the hash.
I don't remember why I took it out.
In any case, this is certainly OK if it passes testing.
Diego.