[Bug c++/85587] [8/9 Regression] bogus error: ‘F’ was not declared in this scope
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 2 07:51:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85587
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed May 2 07:50:28 2018
New Revision: 259824
URL: https://gcc.gnu.org/viewcvs?rev=259824&root=gcc&view=rev
Log:
PR c++/85587 - error with scoped enum in template.
* semantics.c (finish_qualified_id_expr): Don't return an
unqualified IDENTIFIER_NODE.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/scoped_enum8.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/semantics.c
More information about the Gcc-bugs
mailing list