This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85587] [8/9 Regression] bogus error: ‘F’ was not declared in this scope
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 May 2018 18:12:25 +0000
- Subject: [Bug c++/85587] [8/9 Regression] bogus error: ‘F’ was not declared in this scope
- Auto-submitted: auto-generated
- References: <bug-85587-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85587
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue May 1 18:11:53 2018
New Revision: 259805
URL: https://gcc.gnu.org/viewcvs?rev=259805&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:
trunk/gcc/testsuite/g++.dg/cpp0x/scoped_enum8.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c