[Bug c++/22293] [4.0/4.1 regression] ICE declaring destructor as friend
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Sep 10 05:21:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-10 05:21 -------
Backtrace:
#0 0x080fc839 in comptypes (t1=0xb7cc3844, t2=0x0, strict=0) at /home/peshtigo/pinskia/src/
gnu/gcc/src/gcc/cp/typeck.c:933
#1 0x08077a83 in grokdeclarator (declarator=0x91509b4, declspecs=0xbffb4660,
decl_context=FIELD, initialized=0, attrlist=0xbffb4630)
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/decl.c:7962
#2 0x080d316e in grokfield (declarator=0x91509d4, declspecs=0xbffb4660, init=0x0,
asmspec_tree=0x0, attrlist=0x0)
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/decl2.c:833
#3 0x080e9381 in cp_parser_member_declaration (parser=0xb7cc4ea0) at /home/peshtigo/pinskia/
src/gnu/gcc/src/gcc/cp/parser.c:13512
#4 0x080ea1fe in cp_parser_type_specifier (parser=0xb7cc4ea0, flags=Variable "flags" is not available.
) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:13169
#5 0x080ebbd2 in cp_parser_decl_specifier_seq (parser=0xb7cc4ea0,
flags=CP_PARSER_FLAGS_OPTIONAL, decl_specs=0xbffb47c8, declares_class_or_enum=0xbffb4814)
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:7406
#6 0x080f3f50 in cp_parser_simple_declaration (parser=0xb7cc4ea0, function_definition_allowed_p=1
'\001')
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:7102
#7 0x080f432a in cp_parser_block_declaration (parser=0xb7cc4ea0, statement_p=0 '\0') at /home/
peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:7063
#8 0x080f4f27 in cp_parser_declaration (parser=0xb7cc4ea0) at /home/peshtigo/pinskia/src/gnu/
gcc/src/gcc/cp/parser.c:6980
#9 0x080f5635 in cp_parser_declaration_seq_opt (parser=0xb7cc4ea0) at /home/peshtigo/pinskia/
src/gnu/gcc/src/gcc/cp/parser.c:6879
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22293
More information about the Gcc-bugs
mailing list