[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:38:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77812
--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Wed Jan 11 20:37:16 2017
New Revision: 244335
URL: https://gcc.gnu.org/viewcvs?rev=244335&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:
trunk/gcc/testsuite/g++.dg/pr77812.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list