[Bug tree-optimization/86465] [9/10/11/12 Regression] C++17 <optional> triggers: ‘<anonymous>’ may be used uninitialized in this function
marc@nieper-wisskirchen.de
gcc-bugzilla@gcc.gnu.org
Wed Jan 12 10:22:57 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86465
--- Comment #17 from Marc Nieper-Wißkirchen <marc@nieper-wisskirchen.de> ---
Does a viable workaround exist that doesn't amount to disabling the warning
option altogether?
In my case, the actual warning is triggered inside the standard library, which
is used by my code that uses std::optional.
Thanks.
More information about the Gcc-bugs
mailing list