https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946
Andrew Pinski changed:
What|Removed |Added
CC||giel+gcc at mortis dot eu
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946
Paolo Carlini changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
CC|paolo.carlin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946
--- Comment #8 from paolo at gcc dot gnu.org ---
Author: paolo
Date: Wed Oct 4 17:21:21 2017
New Revision: 253423
URL: https://gcc.gnu.org/viewcvs?rev=253423&root=gcc&view=rev
Log:
/cp
2017-10-04 Paolo Carlini
Andrew Pinski
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946
Paolo Carlini changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946
--- Comment #6 from Andrew Pinski ---
I suspect parser->in_function_body is not being set in lambda functions.
Most likely because statement expressions are also rejected for the same
reason:
auto test = []{ int t = ({ int t1; t1 = 0; t1; }); }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71946
Andrew Pinski changed:
What|Removed |Added
Target Milestone|4.9.4 |---
Summary|FD_ZERO macro par