[Bug c++/82218] New: [C++1x] constexpr on static member function causes segfault

2017-09-14 Thread emil.fresk at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: emil.fresk at gmail dot com Target Milestone: --- The constexpr on line 55 in Compiler Explorer https://godbolt.org/g/sJA8nK causes the segfault. By removing this, it compiles fine. The error

[Bug c++/82218] [C++1x] constexpr on static member function causes segfault

2017-09-14 Thread emil.fresk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82218 --- Comment #1 from Emil Fresk --- Moreover, if one changes so Params... type-pack is not void it also compiles fine. The use of void seems to be the part causing the problem. This can be tested by changing void(void) to void(int) on line 134, a