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: 3 Oct 2006 18:35:25 -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 #2 from mmitchel at gcc dot gnu dot org 2006-10-03 18:35 -------
The bug here is that the parser is not resolving A<N>::A to A<N>; instead it is
treating that as a typename type. Since the qualified name is appearing in a
declaration, and since the containing class is a not a class template, we
should resolve the qualified name at this point.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29020