------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-21 14:37 ------- Confirmed, here is the backtrace: #0 write_name (decl=0x41dc1380, ignore_local_scope=1) at /Users/pinskia/src/alias/gcc/gcc/cp/ mangle.c:1440 #1 0x000fe888 in write_encoding (decl=0x41dc1380) at /Users/pinskia/src/alias/gcc/gcc/cp/ mangle.c:740 #2 0x000ff1a4 in write_mangled_name (decl=0x680000, top_level=1 '\001') at /Users/pinskia/src/ alias/gcc/gcc/cp/mangle.c:710 #3 0x001005f8 in mangle_decl (decl=0x41dc1380) at /Users/pinskia/src/alias/gcc/gcc/cp/mangle.c: 2526 #4 0x000b117c in cp_parser_member_declaration (parser=0x680000) at /Users/pinskia/src/alias/ gcc/gcc/cp/parser.c:13333 #5 0x000a19d0 in cp_parser_type_specifier (parser=0x41dbe8c0, flags=CP_PARSER_FLAGS_NONE, decl_specs=0xbffff490, is_declaration=1 '\001', declares_class_or_enum=0xbffff40c, is_cv_qualifier=0x41dbce00 "A??") at /Users/pinskia/src/alias/gcc/gcc/cp/parser.c:13017 #6 0x000a2db0 in cp_parser_decl_specifier_seq (parser=0x0, flags=CP_PARSER_FLAGS_NONE, decl_specs=0x41dbce00, declares_class_or_enum=0xbffff40c) at /Users/pinskia/src/alias/gcc/gcc/cp/ parser.c:7285 #7 0x000af2ec in cp_parser_simple_declaration (parser=0x41dbe8c0, function_definition_allowed_p=0 '\0') at /Users/pinskia/src/alias/gcc/gcc/cp/parser.c:6981 #8 0x0009ea04 in cp_parser_block_declaration (parser=0x41dbe8c0, statement_p=0 '\0') at /Users/ pinskia/src/alias/gcc/gcc/cp/parser.c:6942 #9 0x0009f8bc in cp_parser_statement (parser=0x41dbe8c0, in_statement_expr=0x0) at /Users/ pinskia/src/alias/gcc/gcc/cp/parser.c:6644 #10 0x000a0474 in cp_parser_statement_seq_opt (parser=0x41dbe8c0, in_statement_expr=0x0) at / Users/pinskia/src/alias/gcc/gcc/cp/parser.c:6178 #11 0x000a05a4 in cp_parser_compound_statement (parser=0x41dbf220, in_statement_expr=0x41dbe8c0, in_try=152 '\230') at /Users/pinskia/src/alias/gcc/gcc/cp/parser.c: 6151 #12 0x000a0684 in cp_parser_ctor_initializer_opt_and_function_body (parser=0x41dbe8c0) at /Users/ pinskia/src/alias/gcc/gcc/cp/parser.c:12059 #13 0x000a0c40 in cp_parser_function_definition_after_declarator (parser=0x41dbe8c0, inline_p=0 '\0') at /Users/pinskia/src/alias/gcc/gcc/cp/parser.c:14924 #14 0x000af168 in cp_parser_init_declarator (parser=0x41dbe8c0, decl_specifiers=0xbffff880, function_definition_allowed_p=1 '\001', member_p=0 '\0', declares_class_or_enum=7348368, function_definition_p=0xbffff878 "\001g\202l") at /Users/pinskia/src/alias/gcc/gcc/cp/parser.c: 14869 #15 0x000afc4c in cp_parser_single_declaration (parser=0x430176a4, member_p=128 '\200', friend_p=0x1 <Address 0x1 out of bounds>) at /Users/pinskia/src/alias/gcc/gcc/cp/parser.c:15112
-- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |ice-on-valid-code Last reconfirmed|0000-00-00 00:00:00 |2005-04-21 14:37:25 date| | Summary|ICE when compiling c++ PCH |[4.0/4.1 Regression] ICE |of class definition within |when compiling c++ PCH of |template function. |class definition within | |template function. Target Milestone|--- |4.0.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21151