[Bug c++/12167] [3.4 Regression] ICE on default argument of class member function if non-simple
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Sep 6 11:29:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12167
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-09-06 11:29 -------
Subject: Bug 12167
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: nathan@gcc.gnu.org 2003-09-06 11:29:18
Modified files:
gcc/cp : ChangeLog parser.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.dg/template: non-type-template-argument-1.C
Added files:
gcc/testsuite/g++.dg/parse: defarg5.C
Log message:
cp:
PR c++/12167
* parser.c (cp_parser_late_parsing_default_args): Push & pop the
unparsed functions queue.
testsuite:
PR c++/12167
* g++.dg/parse/defarg5.C: New test.
* g++.dg/template/non-type-template-argument-1.C: Tweak expected error.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3649&r2=1.3650
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.108&r2=1.109
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3027&r2=1.3028
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/defarg5.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/non-type-template-argument-1.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
More information about the Gcc-bugs
mailing list