This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29020] [4.0/4.1/4.2 regression] ICE using A<N>::A instead of A<N> in friend declaration
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2006 06:54:07 -0000
- Subject: [Bug c++/29020] [4.0/4.1/4.2 regression] ICE using A<N>::A instead of A<N> in friend declaration
- References: <bug-29020-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from mmitchel at gcc dot gnu dot org 2006-10-04 06:54 -------
Subject: Bug 29020
Author: mmitchel
Date: Wed Oct 4 06:53:55 2006
New Revision: 117425
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117425
Log:
PR c++/29020
* friend.c (do_friend): Improve comments; add assertion.
* parser.c (cp_parser_nested_name_specifier_opt): Resolve
typenames for qualified names used in declarations, even when
caching qualified name lookup.
PR c++/29020
* g++.dg/template/friend48.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/friend48.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/friend.c
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29020