[PATCH][LTO] Fix type hashing for fortran

Diego Novillo dnovillo@google.com
Fri Oct 16 11:22:00 GMT 2009


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.



More information about the Gcc-patches mailing list