[Bug c++/20461] [4.0/4.1 Regression] ICE at class 'C' does not have any field named 'f' error
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-21 11:49 --- Subject: Bug 20461 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-21 11:49:36 Modified files: gcc/cp : ChangeLog init.c semantics.c Log message: 2005-03-21 Paolo Carlini [EMAIL PROTECTED] PR c++/20461 PR c++/20536 * init.c (emit_mem_initializers): Don't crash on undefined types. 2005-03-21 Paolo Carlini [EMAIL PROTECTED] PR c++/20147 * semantics.c (finish_stmt_expr_expr): Return immediately if error_operand_p (expr). Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gccr1=1.4669r2=1.4670 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gccr1=1.414r2=1.415 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gccr1=1.464r2=1.465 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20461
[Bug c++/20461] [4.0/4.1 Regression] ICE at class 'C' does not have any field named 'f' error
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-21 11:53 --- Subject: Bug 20461 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-21 11:53:00 Modified files: gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/parse: crash24.C crash25.C gcc/testsuite/g++.dg/ext: stmtexpr4.C Log message: 2005-03-21 Paolo Carlini [EMAIL PROTECTED] PR c++/20461 * g++.dg/parse/crash24.C: New test. PR c++/20536 * g++.dg/parse/crash25.C: New test. 2005-03-21 Paolo Carlini [EMAIL PROTECTED] PR c++/20147 * g++.dg/ext/stmtexpr4.C: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.5186r2=1.5187 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/crash24.C.diff?cvsroot=gccr1=NONEr2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/crash25.C.diff?cvsroot=gccr1=NONEr2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/stmtexpr4.C.diff?cvsroot=gccr1=NONEr2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20461
[Bug c++/20461] [4.0/4.1 Regression] ICE at class 'C' does not have any field named 'f' error
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-20 17:29 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01879.html. -- What|Removed |Added Keywords||patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20461
[Bug c++/20461] [4.0/4.1 Regression] ICE at class 'C' does not have any field named 'f' error
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-18 19:13 --- *** Bug 20536 has been marked as a duplicate of this bug. *** -- What|Removed |Added CC||wwieser at gmx dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20461
[Bug c++/20461] [4.0/4.1 Regression] ICE at class 'C' does not have any field named 'f' error
--- Additional Comments From pcarlini at suse dot de 2005-03-18 22:16 --- Notice that the ICE happen only with checking enabled, but seems easy to fix and we can avoid confused by earlier errors, bailing out otherwise. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20461
[Bug c++/20461] [4.0/4.1 Regression] ICE at class 'C' does not have any field named 'f' error
--- Additional Comments From wanderer at rsu dot ru 2005-03-17 22:21 --- I found time of regression. GCC CVS mainline at 2004-07-12 16:00 GMT compile testcase without problem. GCC CVS mainline at 2004-07-12 16:20 CMT ICE at testcase CVS changes from http://gcc.gnu.org/ml/gcc-cvs/2004-07/ in this time range: 16:16 gcc/gcc/cp name-lookup.c nathan 16:06 gcc/gcc/cp ChangeLog call.c class.c cvt.c decl ... nathan -- What|Removed |Added CC||nathan at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20461
[Bug c++/20461] [4.0/4.1 Regression] ICE at class 'C' does not have any field named 'f' error
-- What|Removed |Added Keywords||ice-on-invalid-code Summary|ICE at class 'C' does not |[4.0/4.1 Regression] ICE at |have any field named 'f' |class 'C' does not have any |error |field named 'f' error http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20461
[Bug c++/20461] [4.0/4.1 Regression] ICE at class 'C' does not have any field named 'f' error
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-13 21:22 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Keywords||error-recovery Last reconfirmed|-00-00 00:00:00 |2005-03-13 21:22:33 date|| Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20461
[Bug c++/20461] [4.0/4.1 Regression] ICE at class 'C' does not have any field named 'f' error
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-13 22:16 --- Backtrace: #0 emit_mem_initializers (mem_inits=0x0) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/init.c: 485 #1 0x080eaf8f in cp_parser_ctor_initializer_opt_and_function_body (parser=0xb7c82c64) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:7665 #2 0x080eb237 in cp_parser_function_definition_after_declarator (parser=0xb7c82c64, inline_p=0 '\0') at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:14868 #3 0x080f7645 in cp_parser_init_declarator (parser=0xb7c82c64, decl_specifiers=0xbff8c378, function_definition_allowed_p=1 '\001', member_p=0 '\0', declares_class_or_enum=Variable declares_class_or_enum is not available. ) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:14813 #4 0x080f7849 in cp_parser_simple_declaration (parser=0xb7c82c64, function_definition_allowed_p=1 '\001') at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:7007 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20461