]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/ChangeLog
PR c++/89630 - ICE with dependent using-decl as template arg.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Mar 2019 19:37:00 +0000 (19:37 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Mar 2019 19:37:00 +0000 (19:37 +0000)
commit56c3aeaa4999c60c796ce5fd1cb17ce25518a103
tree97886d9c91f2fe477e6119e6ecaa89f7b04eaf30
parentc821b0ef575ab53abd3037cf288a6b7b40b99d12
PR c++/89630 - ICE with dependent using-decl as template arg.

Even though these two using-declarations have the same effect, they are not
the same declaration, and we don't need to work to treat them as the same
like we do for typedefs.  If we did need to, we would need to handle them
specially in iterative_hash_template_arg as well as here.

* tree.c (cp_tree_equal): Always return false for USING_DECL.

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