This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/11274] [3.4 regression] Segfault in hash_type
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2003 00:55:15 -0000
- Subject: [Bug middle-end/11274] [3.4 regression] Segfault in hash_type
- References: <20030620203211.11274.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11274
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |middle-end
Summary|[3.4 regression] Segfault |[3.4 regression] Segfault in
| |hash_type
------- Additional Comments From bangerth at dealii dot org 2003-06-21 00:55 -------
Here's a backtrace:
#0 0x0815522b in hash_type (val=0x0) at ../../gcc/gcc/cp/mangle.c:2600
#1 0x08486857 in htab_expand (htab=0x405d7dc0)
at ../../gcc/libiberty/hashtab.c:409
#2 0x08486b42 in htab_find_slot_with_hash (htab=0x405d7dc0,
element=0x42882948, hash=139527465, insert=INSERT)
at ../../gcc/libiberty/hashtab.c:510
#3 0x08155302 in mangle_conv_op_name_for_type (type=0x42882948)
at ../../gcc/gcc/cp/mangle.c:2625
#4 0x080a1532 in tsubst_decl (t=0x4171d4a4, args=0x42883280, type=0x4288521c,
complain=tf_error) at ../../gcc/gcc/cp/pt.c:6032
#5 0x0809da80 in instantiate_class_template (type=0x1)
at ../../gcc/gcc/cp/pt.c:5344
#6 0x0810d7d2 in complete_type (type=0x405d7dc0)
at ../../gcc/gcc/cp/typeck.c:151
#7 0x0809df3e in instantiate_class_template (type=0x1)
at ../../gcc/gcc/cp/pt.c:5389
#8 0x0810d7d2 in complete_type (type=0x405d7dc0)
at ../../gcc/gcc/cp/typeck.c:151
#9 0x080b5c18 in do_type_instantiation (t=0x1, storage=0x0, complain=tf_error)
at ../../gcc/gcc/cp/pt.c:10367
#10 0x080ffd99 in cp_parser_explicit_instantiation (parser=0x1)
at ../../gcc/gcc/cp/parser.c:8325
#11 0x080fe022 in cp_parser_declaration (parser=0x405d7dc0)
at ../../gcc/gcc/cp/parser.c:6413
#12 0x080fde78 in cp_parser_declaration_seq_opt (parser=0x405d7dc0)
at ../../gcc/gcc/cp/parser.c:6337
#13 0x080f9802 in cp_parser_translation_unit (parser=0x40495400)
at ../../gcc/gcc/cp/parser.c:2256
#14 0x08107592 in yyparse () at ../../gcc/gcc/cp/parser.c:14671
#15 0x08180446 in c_common_parse_file (set_yydebug=0)
at ../../gcc/gcc/c-opts.c:1199
#16 0x083bc4da in compile_file () at ../../gcc/gcc/toplev.c:2178
#17 0x083c2177 in do_compile () at ../../gcc/gcc/toplev.c:5507
#18 0x083c21e8 in toplev_main (argc=0, argv=0xbfffe0a4)
at ../../gcc/gcc/toplev.c:5536
#19 0x081843eb in main (argc=0, argv=0x0) at ../../gcc/gcc/main.c:37
#20 0x400465cd in __libc_start_main () from /lib/libc.so.6