Use type_hash_eq langhook in check_qualified_type.
commitdf650356add8921ba47c68b0071e3f328a8603c5
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Nov 2016 19:52:58 +0000 (3 19:52 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Nov 2016 19:52:58 +0000 (3 19:52 +0000)
treebba16b05930156885aa3e5b7fb63e4b7cfd29e1f
parent2f1c4c07bb42b849308612aba60888ca2681131a
Use type_hash_eq langhook in check_qualified_type.

gcc/
* tree.c (check_lang_type): New.
(check_qualified_type): Use it.
(check_aligned_type): Use it.
* tree.h: Declare it.
gcc/cp/
* tree.c (cp_check_qualified_type): Call check_base_type instead
of check_qualified_type.
(cxx_type_hash_eq): Check ref-qualifiers.
* typeck.c (apply_memfn_quals): No need to mess with TYPE_CANONICAL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241831 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/langhooks.h
gcc/tree.c
gcc/tree.h