[Bug c++/20679] [3.4/4.0/4.1 Regression] Parse error when accessing attributes of an inner class. Enclosing class is template and have methods with the same name.
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 4 19:11:00 GMT 2005
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-04 19:11 -------
Subject: Bug 20679
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2005-04-04 19:11:08
Modified files:
gcc/cp : ChangeLog parser.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: overload4.C
Log message:
PR c++/20679
* parser.c (cp_parser_template_name): Fix thinko.
PR c++/20679
* g++.dg/template/overload4.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4687&r2=1.4688
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.325&r2=1.326
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5278&r2=1.5279
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/overload4.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20679
More information about the Gcc-bugs
mailing list