[Bug c++/82930] [C++17] ICE: in is_normal_capture_proxy, at cp/lambda.c:288 with structured binding in a lambda function with auto typed arguments
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82930 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC||mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Marek Polacek --- Fixed in r257761.
[Bug c++/82930] [C++17] ICE: in is_normal_capture_proxy, at cp/lambda.c:288 with structured binding in a lambda function with auto typed arguments
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82930 sandthorn changed: What|Removed |Added CC||hotguest1 at hotmail dot com --- Comment #3 from sandthorn --- I also confirm this on GCC 8.0.1 20180206, but GCC 7.3 seems okey with code below. https://godbolt.org/g/kwDaVE auto lam = [](auto structured_bindable){ // also error with auto& auto [first,second] = structured_bindable; // also error with auto& auto test_access = first; }; g++ (GCC-Explorer-Build) 8.0.1 20180206 (experimental) : In lambda function: :3:35: internal compiler error: in is_normal_capture_proxy, at cp/lambda.c:288 auto test_access = first; ^ mmap: Invalid argument
[Bug c++/82930] [C++17] ICE: in is_normal_capture_proxy, at cp/lambda.c:288 with structured binding in a lambda function with auto typed arguments
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82930 Timothy VanSlyke changed: What|Removed |Added CC||vanslyke.t at husky dot neu.edu --- Comment #2 from Timothy VanSlyke --- Created attachment 43351 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43351=edit Minimum example of the bug Just ran across this as well. Attached the minimum possible example I could reduce it to [6 lines, only three of which have semicolons :)]. x86_64 linux gcc-7.2; 7.3 is affected as well: https://godbolt.org/g/p6LJ5V
[Bug c++/82930] [C++17] ICE: in is_normal_capture_proxy, at cp/lambda.c:288 with structured binding in a lambda function with auto typed arguments
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82930 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2017-11-17 Summary|[C++17/AArch64] ICE: in |[C++17] ICE: in |is_normal_capture_proxy, at |is_normal_capture_proxy, at |cp/lambda.c:288 with|cp/lambda.c:288 with |structured binding in a |structured binding in a |lambda function with auto |lambda function with auto |typed arguments |typed arguments Ever confirmed|0 |1 --- Comment #1 from Paolo Carlini --- Happens on x86_64-linux too, I suspect everywhere.