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: [PATCH][LTO] Fix type hashing for fortran


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.


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