[Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning

palves at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 17 16:39:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635

--- Comment #30 from Pedro Alves <palves at redhat dot com> ---
I assume so, but do we really want to zero-initialize the buffer?  T might be
large, and I'd think that pessimization to quiet a warning isn't the right way
to go?


More information about the Gcc-bugs mailing list