This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47687] [C++0x] Crash on a lambda returning a lambda (using std::function)
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Feb 2011 19:04:47 +0000
- Subject: [Bug c++/47687] [C++0x] Crash on a lambda returning a lambda (using std::function)
- Auto-submitted: auto-generated
- References: <bug-47687-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47687
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-11 19:04:15 UTC ---
cc1plus goes into a loop and runs out of stack space
#471582 dependent_type_p (type=0x2aaaab1b2348) at
../../gcc-4.6-20110205/gcc/cp/pt.c:17918
#471583 0x00000000004da587 in dependent_type_p_r (type=0x2aaaab1b0348) at
../../gcc-4.6-20110205/gcc/cp/pt.c:17908
#471584 dependent_type_p (type=0x2aaaab1b0348) at
../../gcc-4.6-20110205/gcc/cp/pt.c:17944
#471585 dependent_type_p (type=0x2aaaab1b0348) at
../../gcc-4.6-20110205/gcc/cp/pt.c:17918
#471586 0x00000000004da3f0 in dependent_type_p_r (type=0x2aaaab1b2348) at
../../gcc-4.6-20110205/gcc/cp/pt.c:17836
#471587 dependent_type_p (type=0x2aaaab1b2348) at
../../gcc-4.6-20110205/gcc/cp/pt.c:17944
#471588 dependent_type_p (type=0x2aaaab1b2348) at
../../gcc-4.6-20110205/gcc/cp/pt.c:17918
#471589 0x00000000004da587 in dependent_type_p_r (type=0x2aaaab1b0348) at
../../gcc-4.6-20110205/gcc/cp/pt.c:17908
#471590 dependent_type_p (type=0x2aaaab1b0348) at
../../gcc-4.6-20110205/gcc/cp/pt.c:17944
#471591 dependent_type_p (type=0x2aaaab1b0348) at
../../gcc-4.6-20110205/gcc/cp/pt.c:17918
#471592 0x00000000004dad1e in any_dependent_template_arguments_p
(args=0x2aaaaafd6910) at ../../gcc-4.6-20110205/gcc/cp/pt.c:18487
#471593 0x00000000004dd2a8 in uses_template_parms (t=0x2aaaaafd6910) at
../../gcc-4.6-20110205/gcc/cp/pt.c:7417
#471594 0x00000000004e7d64 in lookup_template_class (d1=<value optimized out>,
arglist=0x2aaaaafd6910, in_decl=0x0, context=<value optimized out>,
entering_scope=0,
complain=0) at ../../gcc-4.6-20110205/gcc/cp/pt.c:6949
#471595 0x00000000004e9e31 in tsubst_aggr_type (t=0x2aaaaae6ddc8,
args=0x2aaaaafd68c0, complain=0, in_decl=0x0, entering_scope=0)
at ../../gcc-4.6-20110205/gcc/cp/pt.c:9185
#471596 0x00000000004f21fa in tsubst (t=0x2aaaaae6ddc8, args=0x2aaaaafd68c0,
complain=0, in_decl=0x0) at ../../gcc-4.6-20110205/gcc/cp/pt.c:10433