diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-05-23 16:32:26 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-05-23 14:32:26 +0000 |
commit | 1d1218fb65079b0ff98ea3b7ac9cbf3a73bcf772 (patch) | |
tree | 423b48bdc46ceb01da2aa4587747d49cd05c3fbf /gcc/lto | |
parent | 14e40d7efcebb33770d6f51d51f5df6eb1ac69cc (diff) | |
download | gcc-1d1218fb65079b0ff98ea3b7ac9cbf3a73bcf772.zip gcc-1d1218fb65079b0ff98ea3b7ac9cbf3a73bcf772.tar.gz gcc-1d1218fb65079b0ff98ea3b7ac9cbf3a73bcf772.tar.bz2 |
* lto.c (hash_canonical_type): Drop hashing of METHOD_BASETYPE.
From-SVN: r223607
Diffstat (limited to 'gcc/lto')
-rw-r--r-- | gcc/lto/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/lto/lto.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 335bd54..45d0585 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,7 @@ +2015-05-22 Jan Hubicka <hubicka@ucw.cz> + + * lto.c (hash_canonical_type): Drop hashing of METHOD_BASETYPE. + 2015-05-19 Jan Hubicka <hubicka@ucw.cz> * lto.c (gimple_canonical_types_compatible_p): Move to tree.c diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index 2669744..29059eb 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -372,10 +372,6 @@ hash_canonical_type (tree type) unsigned na; tree p; - /* For method types also incorporate their parent class. */ - if (TREE_CODE (type) == METHOD_TYPE) - iterative_hash_canonical_type (TYPE_METHOD_BASETYPE (type), hstate); - iterative_hash_canonical_type (TREE_TYPE (type), hstate); for (p = TYPE_ARG_TYPES (type), na = 0; p; p = TREE_CHAIN (p)) |