http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56857
Bug #: 56857
Summary: Crash in resolve_args
Classification: Unclassified
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 29815
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29815
Partially reduced testcase
$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --enable-languages=c++ --disable-bootstrap
Thread model: posix
gcc version 4.9.0 20130406 (experimental) [trunk revision 197540] (GCC)
Testcase is partially reduced by delta from
libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc
$ ./xgcc -B. -std=gnu++11 ~/ice.ii
<snip>
/home/ryan/ice.ii:62:17: required from here
/home/ryan/ice.ii:48:20: internal compiler error: Segmentation fault
(__args) ...);
^
0xa9722f crash_signal
../../gcc/toplev.c:332
0x4fc912 resolve_args
../../gcc/cp/call.c:3755
0x5150f7 build_new_function_call(tree_node*, vec<tree_node*, va_gc,
vl_embed>**, bool, int)
../../gcc/cp/call.c:3865
0x681632 finish_call_expr(tree_node*, vec<tree_node*, va_gc, vl_embed>**, bool,
bool, int)
../../gcc/cp/semantics.c:2252
0x566b98 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
../../gcc/cp/pt.c:14099
0x56d13b tsubst_expr
../../gcc/cp/pt.c:13376
0x57af51 tsubst_decl
../../gcc/cp/pt.c:10759
0x5825e7 tsubst
../../gcc/cp/pt.c:11121
0x5825e7 tsubst(tree_node*, tree_node*, int, tree_node*)
../../gcc/cp/pt.c:11106
0x57935b tsubst_copy
../../gcc/cp/pt.c:12180
0x564d3c tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
../../gcc/cp/pt.c:14435
0x56d13b tsubst_expr
../../gcc/cp/pt.c:13376
0x581997 tsubst
../../gcc/cp/pt.c:11799
0x581997 tsubst(tree_node*, tree_node*, int, tree_node*)
../../gcc/cp/pt.c:11106
0x581902 tsubst
../../gcc/cp/pt.c:11190
0x581902 tsubst(tree_node*, tree_node*, int, tree_node*)
../../gcc/cp/pt.c:11106
0x57adef tsubst_decl
../../gcc/cp/pt.c:10658
0x5825e7 tsubst
../../gcc/cp/pt.c:11121
0x5825e7 tsubst(tree_node*, tree_node*, int, tree_node*)
../../gcc/cp/pt.c:11106
0x56ebe3 tsubst_expr
../../gcc/cp/pt.c:12892
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.