https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 70979, which changed state.
Bug 70979 Summary: [C++14] g++ falsely accepts constexpr function returning a lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70979 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED