]> git.ipfire.org Git - thirdparty/gcc.git/commit
Backport:
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Fri, 2 Sep 2005 09:25:13 +0000 (09:25 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Fri, 2 Sep 2005 09:25:13 +0000 (09:25 +0000)
commit00581080d842fe18b49960f1d757d0d9b1f4c527
treed8d3dcca66dfa2f998916da3e2d9ca038600f9c3
parentd2cb03a81a5b38086cc6c2bba5c8d97d0b47f602
Backport:

2004-11-25  Mark Mitchell  <mark@codesourcery.com>
PR c++/18466
* decl.c (grokvardecl): Keep track of whether or not a there was
explicit qualification.
* name-lookup.c (set_decl_namespace): Complain about explicit
qualification of a name within its own namespace.

* g++.dg/parse/qualified3.C: New test.
* g++.old-deja/g++.other/friend7.C: Remove bogus qualification.

2004-11-29  Ben Elliston  <bje@au.ibm.com>
* g++.old-deja/g++.other/decl5.C: Remove remaining XFAILs.

From-SVN: r103768
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/decl5.C
gcc/testsuite/g++.old-deja/g++.other/friend7.C