[Bug c++/91793] [8/9/trunk regression] ICE on unexpanded parameter pack in lambda

2019-09-17 Thread cyp561 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91793 --- Comment #2 from Cyp --- Compiler output from reduced testcase: --- 91793.cpp: In instantiation of ‘ [with auto:1 = {}]’: 91793.cpp:6:4: required from here 91793.cpp:4:25: internal compiler error: Segmentation fault

[Bug c++/91793] [8/9/trunk regression] ICE on unexpanded parameter pack in lambda

2019-09-17 Thread cyp561 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91793 --- Comment #1 from Cyp --- Reduced (creduce) testcase which reproduces ICE: --- int a( [](auto... a) { [] { using b = decltype(a); };