[Bug c++/77812] [5/6/7 Regression] incorrectly rejects valid C++ code that uses enum in template instantiation
nathan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 11 20:50:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812
--- Comment #5 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Wed Jan 11 20:49:50 2017
New Revision: 244336
URL: https://gcc.gnu.org/viewcvs?rev=244336&root=gcc&view=rev
Log:
cp/
PR c++/77812
* name-lookup.c (set_namespace_binding_1): An overload of 1 decl
is a new overload.
testsuite/
PR c++/77812
* g++.dg/pr77812.C: New.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/pr77812.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/name-lookup.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list