https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84726
Pádraig Brady changed:
What|Removed |Added
CC||P at draigBrady dot com
--- Comment #4 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84726
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84726
--- Comment #2 from Jason Merrill ---
Author: jason
Date: Fri Mar 9 21:40:55 2018
New Revision: 258398
URL: https://gcc.gnu.org/viewcvs?rev=258398&root=gcc&view=rev
Log:
PR c++/84726 - unnecessary capture of constant vars.
* cp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84726
--- Comment #1 from Jason Merrill ---
Optimizing it away is allowed by 8.4.5.1p2:
An implementation may define the closure type differently from what is
described below provided this does not alter the observable behavior of the
program other th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84726
Jason Merrill changed:
What|Removed |Added
Target Milestone|--- |8.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84726
Jason Merrill changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|