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++/70979] [C++14] g++ falsely accepts constexpr function returning a lambda


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Created attachment 40730
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40730&action=edit
fix

Here's a fix; I'm inclined to hold it for GCC 8, now that the trunk is in
regression-only mode.

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