PR c++/89630 - ICE with dependent using-decl as template arg.
authorJason Merrill <jason@redhat.com>
Mon, 18 Mar 2019 19:37:00 +0000 (15:37 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 18 Mar 2019 19:37:00 +0000 (15:37 -0400)
commit7834e5a0e103c7f07c789cbe7293c6c1400a1216
tree97886d9c91f2fe477e6119e6ecaa89f7b04eaf30
parentd849cfaeeaf15a30170b0fb10b4f62075a1ee58b
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.

From-SVN: r269777
gcc/cp/ChangeLog
gcc/cp/tree.c