* decl.c (start_enum): Do compare dependent underlying type.
authorJason Merrill <jason@redhat.com>
Fri, 15 Jun 2018 20:22:55 +0000 (16:22 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 15 Jun 2018 20:22:55 +0000 (16:22 -0400)
commitb4cf2e42b5d30bd38b05c16365ab8e5c98f7e12a
tree6b0fc7bc3460fb90ade3e7d4458a843a888ead91
parent582f844c6e30e59ac5641a04cfb7fdd1aff78c66
* decl.c (start_enum): Do compare dependent underlying type.

From-SVN: r261655
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/name-lookup.h
gcc/testsuite/g++.dg/cpp0x/forw_enum10.C
gcc/testsuite/g++.dg/cpp0x/forw_enum7.C
gcc/testsuite/g++.dg/cpp0x/forw_enum8.C