This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66160] gcc-5.1.0 fails with "lambda-expression in unevaluated context" where gcc-4.9.2 succeeds
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Jul 2015 11:28:17 +0000
- Subject: [Bug c++/66160] gcc-5.1.0 fails with "lambda-expression in unevaluated context" where gcc-4.9.2 succeeds
- Auto-submitted: auto-generated
- References: <bug-66160-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66160
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
G++, Clang and EDG all reject both testcases for the same reason, so it looks
like the code is simply invalid and previous versions of G++ incorrectly
accepted it.