This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82218

--- Comment #1 from Emil Fresk <emil.fresk at gmail dot com> ---
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, and adding
an argument to a(), on line 138, for example a(10).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]