This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10079] ICE (segfault) while substitute return type containing unresolved qualified id
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2003 13:24:11 -0000
- Subject: [Bug c++/10079] ICE (segfault) while substitute return type containing unresolved qualified id
- References: <20030314113600.10079.stip@mathematik.uni-ulm.de>
- 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=10079
giovannibajo at libero dot it changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-06-23 12:57:44 |2003-06-23 13:24:10
date| |
------- Additional Comments From giovannibajo at libero dot it 2003-06-23 13:24 -------
Stack at segfault point:
#0 convert_from_reference (val=0x1c1e240) at ../../gcc/gcc/cp/cvt.c:557
#1 0x0040b185 in prep_operand (operand=0x1c1e240)
at ../../gcc/gcc/cp/call.c:3565
#2 0x0040b5f9 in build_new_op (code=TRUTH_ANDIF_EXPR, flags=3,
arg1=0x1c1e240, arg2=0x1c1e1f8, arg3=0x0) at ../../gcc/gcc/cp/call.c:3666
#3 0x004e5ea6 in build_x_binary_op (code=TRUTH_ANDIF_EXPR, arg1=0x1c1e240,
arg2=0x1c1e1f8) at ../../gcc/gcc/cp/typeck.c:2946
#4 0x00460061 in tsubst_template_arg_vector (t=0x1c15408, args=0x1c1e180,
complain=tf_none) at ../../gcc/gcc/cp/pt.c:5689
#5 0x004607d0 in tsubst_aggr_type (t=0x1c14d20, args=0x1c1e180,
complain=tf_none, in_decl=0x0, entering_scope=0)
at ../../gcc/gcc/cp/pt.c:5807
#6 0x00464e0c in tsubst (t=0x1c14d20, args=0x1c1e180, complain=tf_none,
in_decl=0x0) at ../../gcc/gcc/cp/pt.c:6593
#7 0x00463b04 in tsubst_function_type (t=0x1c16000, args=0x1c1e180,
complain=tf_none, in_decl=0x0) at ../../gcc/gcc/cp/pt.c:6460
#8 0x00465178 in tsubst (t=0x1c16000, args=0x1c1e180, complain=tf_none,
in_decl=0x0) at ../../gcc/gcc/cp/pt.c:6975
#9 0x0047187c in fn_type_unification (fn=0x1c160e0, explicit_targs=0x0,
targs=0x1c1e180, args=0x1c15b10, return_type=0x0, strict=DEDUCE_ORDER,
len=2) at ../../gcc/gcc/cp/pt.c:8705
#10 0x004762ac in get_bindings_real (fn=0x1c160e0, decl=0x1c16a10,
explicit_args=0x0, check_rettype=0, deduce=3, len=2)
at ../../gcc/gcc/cp/pt.c:10107
#11 0x00475fe5 in more_specialized (pat1=0x1c160e0, pat2=0x1c16a80, deduce=3,
len=2) at ../../gcc/gcc/cp/pt.c:10017
#12 0x00413220 in joust (cand1=0x1bf2c90, cand2=0x1bf2a20, warn=false)
at ../../gcc/gcc/cp/call.c:5846
#13 0x00413add in tourney (candidates=0x1bf2c90)
at ../../gcc/gcc/cp/call.c:5974
#14 0x0040919a in build_new_function_call (fn=0x1c0bdb0, args=0x1c1b1f8)
at ../../gcc/gcc/cp/call.c:2906
#15 0x004c5f16 in cp_parser_postfix_expression (parser=0x1bf23c0,
address_p=false) at ../../gcc/gcc/cp/parser.c:3967
#16 0x004c6c85 in cp_parser_unary_expression (parser=0x1bf23c0,
address_p=false) at ../../gcc/gcc/cp/parser.c:4504
#17 0x004c7509 in cp_parser_cast_expression (parser=0x1bf23c0, address_p=false)
at ../../gcc/gcc/cp/parser.c:4938
#18 0x004c752b in cp_parser_pm_expression (parser=0x1bf23c0)
at ../../gcc/gcc/cp/parser.c:4957
#19 0x004d3e1b in cp_parser_binary_expression (parser=0x1bf23c0,
token_tree_map=0x4c75e0, fn=0x4c7512 <cp_parser_pm_expression>)
at ../../gcc/gcc/cp/parser.c:13577
#20 0x004c7621 in cp_parser_multiplicative_expression (parser=0x1bf23c0)
at ../../gcc/gcc/cp/parser.c:5011
#21 0x004d3e1b in cp_parser_binary_expression (parser=0x1bf23c0,
token_tree_map=0x4c7624, fn=0x4c7600 <cp_parser_multiplicative_expression>)
at ../../gcc/gcc/cp/parser.c:13577
#22 0x004c765d in cp_parser_additive_expression (parser=0x1bf23c0)
at ../../gcc/gcc/cp/parser.c:5034
#23 0x004d3e1b in cp_parser_binary_expression (parser=0x1bf23c0,
token_tree_map=0x4c7660, fn=0x4c763c <cp_parser_additive_expression>)
at ../../gcc/gcc/cp/parser.c:13577
#24 0x004c7699 in cp_parser_shift_expression (parser=0x1bf23c0)
at ../../gcc/gcc/cp/parser.c:5057
#25 0x004d3e1b in cp_parser_binary_expression (parser=0x1bf23c0,
token_tree_map=0x4c76a0, fn=0x4c7678 <cp_parser_shift_expression>)
at ../../gcc/gcc/cp/parser.c:13577
#26 0x004c76f9 in cp_parser_relational_expression (parser=0x1bf23c0)
at ../../gcc/gcc/cp/parser.c:5092
#27 0x004d3e1b in cp_parser_binary_expression (parser=0x1bf23c0,
token_tree_map=0x4c76fc, fn=0x4c76d8 <cp_parser_relational_expression>)
at ../../gcc/gcc/cp/parser.c:13577
#28 0x004c7735 in cp_parser_equality_expression (parser=0x1bf23c0)
at ../../gcc/gcc/cp/parser.c:5115
#29 0x004d3e1b in cp_parser_binary_expression (parser=0x1bf23c0,
token_tree_map=0x4c7738, fn=0x4c7714 <cp_parser_equality_expression>)
at ../../gcc/gcc/cp/parser.c:13577
#30 0x004c7769 in cp_parser_and_expression (parser=0x1bf23c0)
at ../../gcc/gcc/cp/parser.c:5136
#31 0x004d3e1b in cp_parser_binary_expression (parser=0x1bf23c0,
token_tree_map=0x4c776c, fn=0x4c7748 <cp_parser_and_expression>)
at ../../gcc/gcc/cp/parser.c:13577
#32 0x004c779d in cp_parser_exclusive_or_expression (parser=0x1bf23c0)
at ../../gcc/gcc/cp/parser.c:5157
#33 0x004d3e1b in cp_parser_binary_expression (parser=0x1bf23c0,
token_tree_map=0x4c77a0, fn=0x4c777c <cp_parser_exclusive_or_expression>)
at ../../gcc/gcc/cp/parser.c:13577
#34 0x004c77d1 in cp_parser_inclusive_or_expression (parser=0x1bf23c0)
at ../../gcc/gcc/cp/parser.c:5179
#35 0x004d3e1b in cp_parser_binary_expression (parser=0x1bf23c0,
token_tree_map=0x4c77d4, fn=0x4c77b0 <cp_parser_inclusive_or_expression>)
at ../../gcc/gcc/cp/parser.c:13577
#36 0x004c7805 in cp_parser_logical_and_expression (parser=0x1bf23c0)
at ../../gcc/gcc/cp/parser.c:5200
#37 0x004d3e1b in cp_parser_binary_expression (parser=0x1bf23c0,
token_tree_map=0x4c7808, fn=0x4c77e4 <cp_parser_logical_and_expression>)
at ../../gcc/gcc/cp/parser.c:13577
[...]