[Bug c++/79766] inline namespace and ::

2021-12-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79766

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|--- |8.0

[Bug c++/79766] inline namespace and ::

2017-06-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79766

Nathan Sidwell  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Nathan Sidwell  ---
Fixed r249385.

[Bug c++/79766] inline namespace and ::

2017-06-19 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79766

--- Comment #2 from Nathan Sidwell  ---
Author: nathan
Date: Mon Jun 19 19:11:31 2017
New Revision: 249385

URL: https://gcc.gnu.org/viewcvs?rev=249385=gcc=rev
Log:
PR c++/81124
PR c++/79766
* name-lookup.c (set_decl_namespace): Don't follow using
directives and ignore using decls.  Only check overly-explicit
scope after discovering decl.

* g++.dg/lookup/pr79766.C: New.
* g++.dg/lookup/pr81124.C: New.
* g++.dg/template/explicit6.C: Adjust.
* g++.old-deja/g++.other/decl5.C: Adjust.

Added:
trunk/gcc/testsuite/g++.dg/lookup/pr79766.C
trunk/gcc/testsuite/g++.dg/lookup/pr81124.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/template/explicit6.C
trunk/gcc/testsuite/g++.old-deja/g++.other/decl5.C

[Bug c++/79766] inline namespace and ::

2017-03-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79766

Nathan Sidwell  changed:

   What|Removed |Added

   Keywords|rejects-valid   |accepts-invalid

--- Comment #1 from Nathan Sidwell  ---
Looking at [7.3.1]/7 I think the use of 'Y::Q' to define Y::X::Q is ill-formed.
 Naming 'Q' in 'Y' for its definition is not one of the permitted uses.

[Bug c++/79766] inline namespace and ::

2017-03-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79766

Nathan Sidwell  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2017-03-01
   Assignee|unassigned at gcc dot gnu.org  |nathan at gcc dot 
gnu.org
 Ever confirmed|0   |1