https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79005
Leslie Zhai changed:
What|Removed |Added
CC||lesliezhai at llvm dot org.cn
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79005
Paolo Carlini changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|mmccutcheon
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79005
--- Comment #5 from paolo at gcc dot gnu.org ---
Author: paolo
Date: Mon Oct 2 21:44:55 2017
New Revision: 253368
URL: https://gcc.gnu.org/viewcvs?rev=253368=gcc=rev
Log:
2017-10-02 Paolo Carlini
PR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79005
Richard Biener changed:
What|Removed |Added
Keywords||ice-on-valid-code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79005
--- Comment #3 from M. McCutcheon ---
Sorry, forgot to include the actual error message, though it doesn't seem very
illuminating :
auto-lambda_sub-capture.cpp:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79005
--- Comment #2 from M. McCutcheon ---
Created attachment 40469
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40469=edit
Preprocessed source as requested by the error message
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79005
--- Comment #1 from M. McCutcheon ---
The following code provokes an internal compiler error with :
g++ -save-temps -Wall -Wextra -std=c++14
int main()
{
auto glambda = [] (auto a)
{
const int c = a;
auto cglambda = [&]