This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80935] [C++1z] incorrect error 'uninitialized variable in constexpr function' when conditionally declaring variable inside lambda inside template class
- From: "andrew.kw.w at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Jul 2017 16:45:18 +0000
- Subject: [Bug c++/80935] [C++1z] incorrect error 'uninitialized variable in constexpr function' when conditionally declaring variable inside lambda inside template class
- Auto-submitted: auto-generated
- References: <bug-80935-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80935
Andrew Wong <andrew.kw.w at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrew.kw.w at gmail dot com
--- Comment #1 from Andrew Wong <andrew.kw.w at gmail dot com> ---
I am also running into this issue on g++ 7.1.0, and I can reproduce the error
using the attached code.