[Bug c++/18586] [4.0 regression] ICE on invalid template member declaration
--- Additional Comments From mark at codesourcery dot com 2004-11-24 20:11 --- Subject: Re: [4.0 regression] ICE on invalid template member declaration reichelt at gcc dot gnu dot org wrote: > --- Additional Comments From reichelt at gcc dot gnu dot org 2004-11-24 > 20:07 --- > Mark, instead of crash27.C you added deduce3.C to the testsuite. > Could you please commit crash27.C, too? > > Done, thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18586
[Bug c++/18586] [4.0 regression] ICE on invalid template member declaration
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-24 20:11 --- Subject: Bug 18586 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-11-24 20:10:47 Added files: gcc/testsuite/g++.dg/template: crash27.C Log message: PR c++/18586 * g++.dg/template/crash27.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/crash27.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18586
[Bug c++/18586] [4.0 regression] ICE on invalid template member declaration
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-11-24 20:07 --- Mark, instead of crash27.C you added deduce3.C to the testsuite. Could you please commit crash27.C, too? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18586
[Bug c++/18586] [4.0 regression] ICE on invalid template member declaration
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-24 18:11 --- Subject: Bug 18586 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-11-24 18:10:27 Modified files: gcc/cp : ChangeLog parser.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/template: deduce3.C Log message: PR c++/18586 * parser.c (cp_parser_init_declarator): Do not pop scope twice. PR c++/18586 * g++.dg/template/crash27.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4491&r2=1.4492 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.279&r2=1.280 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4641&r2=1.4642 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/deduce3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18586
[Bug c++/18586] [4.0 regression] ICE on invalid template member declaration
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-11-24 18:10 --- Fixed in GCC 4.0. -- What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18586
[Bug c++/18586] [4.0 regression] ICE on invalid template member declaration
-- 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=18586
[Bug c++/18586] [4.0 regression] ICE on invalid template member declaration
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-21 03:18 --- I am almost certain this was caused by: http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00212.html -- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org, mark at codesourcery ||dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18586
[Bug c++/18586] [4.0 regression] ICE on invalid template member declaration
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-21 02:29 --- Confirmed, here is the backtrace: #0 0x001f2ad8 in pop_scope (t=0x0) at ../../gcc/cp/name-lookup.c:2571 #1 0x0013cde8 in cp_parser_init_declarator (parser=0x41e9a30c, decl_specifiers=0xb410, function_definition_allowed_p=1 '\001', member_p=1 '\001', declares_class_or_enum=0, function_definition_p=0xb460 "") at ../../gcc/cp/parser.c:10615 #2 0x001467cc in cp_parser_single_declaration (parser=0x41e9a30c, member_p=1 '\001', friend_p=0xb4c8 "") at ../../gcc/cp/parser.c:14876 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18586
[Bug c++/18586] [4.0 regression] ICE on invalid template member declaration
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-21 02:02 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2004-11-21 02:02:13 date|| Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18586