This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70979] [C++14] g++ falsely accepts constexpr function returning a lambda
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Feb 2017 22:34:20 +0000
- Subject: [Bug c++/70979] [C++14] g++ falsely accepts constexpr function returning a lambda
- Auto-submitted: auto-generated
- References: <bug-70979-4@http.gcc.gnu.org/bugzilla/>
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.