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++/80935] [C++1z] incorrect error 'uninitialized variable in constexpr function' when conditionally declaring variable inside lambda inside template class


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.

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