This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/60033] [c++1y] ICE in retrieve_specialization while compiling recursive generic lambda


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]