[Bug c++/80935] [C++1z] incorrect error 'uninitialized variable in constexpr function' when conditionally declaring variable inside lambda inside template class

andrew.kw.w at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jul 14 16:45:00 GMT 2017


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.


More information about the Gcc-bugs mailing list