This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60033] [c++1y] ICE in retrieve_specialization while compiling recursive generic lambda
- From: "abutcher at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 02 Mar 2014 20:07:13 +0000
- Subject: [Bug c++/60033] [c++1y] ICE in retrieve_specialization while compiling recursive generic lambda
- Auto-submitted: auto-generated
- References: <bug-60033-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033
--- Comment #7 from Adam Butcher <abutcher at gcc dot gnu.org> ---
(In reply to Adam Butcher from comment #6)
> return [&] (int v) {
> return f(ts...);
> };
Should have been:
return [&] (auto v) {
return f(ts...);
};
The 'int' version works as expected.