https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70691
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70691
Richard Biener changed:
What|Removed |Added
Target Milestone|5.4 |5.5
--- Comment #5 from Richard Biener
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70691
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70691
--- Comment #3 from cornelius.mika at gmail dot com ---
This bug is fixed in GCC 6.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70691
--- Comment #2 from cornelius.mika at gmail dot com ---
Comment on attachment 38287
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38287
repro
>template
>void demoError(int x, F f)
>{
>const int y = x;
>
>auto lambda = [=](auto g)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70691
--- Comment #1 from cornelius.mika at gmail dot com ---
Created attachment 38287
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38287&action=edit
repro