This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14448] [3.4/3.5 regression] Segfault in Boost indexed_set
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Mar 2004 00:08:13 -0000
- Subject: [Bug c++/14448] [3.4/3.5 regression] Segfault in Boost indexed_set
- References: <20040305152230.14448.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-08 00:08 -------
With the reduced example, I get a different backtrace (so there might be two different bugs here):
#0 htab_find_with_hash (htab=0x0, element=0x0, hash=137308935) at /Users/pinskia/src/gcc-tree-
ssa/gcc/libiberty/hashtab.c:440
#1 0x0006c4e8 in retrieve_local_specialization (tmpl=0x4179583c) at /Users/pinskia/src/gcc-tree-
ssa/gcc/gcc/cp/pt.c:846
#2 0x000955f4 in tsubst_decl (t=0x4179583c, args=0x0, type=0x417957c0, complain=tf_error) at /
Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:6376
#3 0x000967e0 in tsubst (t=0x4179583c, args=0x0, complain=tf_error, in_decl=0x0) at /Users/
pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:6645
#4 0x0009d070 in tsubst_copy (t=0x4179583c, args=0x0, complain=tf_error, in_decl=0x0) at /
Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:7457
#5 0x0009d570 in tsubst_copy (t=0x416ddfc0, args=0x0, complain=tf_error, in_decl=0x0) at /Users/
pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:7503
#6 0x000a83c4 in tsubst_copy_and_build (t=0x416ddfc0, args=0x0, complain=tf_error, in_decl=0x0,
function_p=false) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:8579
#7 0x000a4864 in tsubst_copy_and_build (t=0x416ca5c4, args=0x0, complain=tf_error, in_decl=0x0,
function_p=false) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:8269
#8 0x0007d1d4 in fold_non_dependent_expr (expr=0x416ca5c4) at /Users/pinskia/src/gcc-tree-ssa/
gcc/gcc/cp/pt.c:3141
#9 0x0007d238 in convert_nontype_argument (type=0x416cb8b8, expr=0x416ca5c4) at /Users/
pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:3172
#10 0x000806fc in convert_template_argument (parm=0x41791aa8, arg=0x416ca5c4,
args=0x4178bae0, complain=3, i=0, in_decl=0x41791d90) at /Users/pinskia/src/gcc-tree-ssa/gcc/
gcc/cp/pt.c:3775
#11 0x00080cb4 in coerce_template_parms (parms=0x4178b6a8, args=0x4178bac8,
in_decl=0x41791d90, complain=3, require_all_arguments=1) at /Users/pinskia/src/gcc-tree-ssa/gcc/
gcc/cp/pt.c:3856
#12 0x0008533c in lookup_template_class (d1=0x41793f00, arglist=0x4178bac8, in_decl=0x0,
context=0x0, entering_scope=0, complain=3) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/pt.c:
4350
#13 0x001a43cc in finish_template_type (name=0x41791d90, args=0x4178bac8, entering_scope=0)
at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/cp/semantics.c:2139
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14448