https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82249
--- Comment #9 from Jason Merrill ---
Author: jason
Date: Thu Feb 1 18:44:41 2018
New Revision: 257307
URL: https://gcc.gnu.org/viewcvs?rev=257307=gcc=rev
Log:
PR c++/84126 - ICE with variadic generic lambda
PR c++/84036
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82249
--- Comment #8 from Jason Merrill ---
Author: jason
Date: Fri Jan 26 17:10:24 2018
New Revision: 257101
URL: https://gcc.gnu.org/viewcvs?rev=257101=gcc=rev
Log:
PR c++/84036 - ICE with variadic capture.
PR c++/82249
*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82249
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82249
--- Comment #6 from Jason Merrill ---
Author: jason
Date: Wed Jan 24 15:20:53 2018
New Revision: 257018
URL: https://gcc.gnu.org/viewcvs?rev=257018=gcc=rev
Log:
PR c++/82249 - wrong mismatched pack length error.
* pt.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82249
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82249
--- Comment #5 from Benjamin Buch ---
The code is accepted by clang since version 4.0. Older versions probably don't
support constexpr lambdas.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82249
Richard Biener changed:
What|Removed |Added
Keywords|diagnostic |rejects-valid
Priority|P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82249
--- Comment #3 from Benjamin Buch ---
Bug is still present in trunk.
$ g++ --version
g++ (GCC) 8.0.0 20180103 (experimental)
Copyright (C) 2018 Free Software Foundation, Inc.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82249
--- Comment #2 from Benjamin Buch ---
The ICE is fixed in trunk, but the wrong argument pack lengths mismatch does
still exist:
constexpr auto calc = [](auto, auto dim)noexcept{ return dim; };
template < typename ... Ds >
constexpr auto f(Ds