https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102801
--- Comment #3 from Calin Culianu ---
@Eric Gallager : Initially I came across that bug and it looked eerily similar
to this one. I am not a gcc dev, just a user of gcc. No idea.. but yeah looks
like in some situations certainly gcc has trouble
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102801
Bug ID: 102801
Summary: Incorrect -Wmaybe-uninitialized warning/interation for
a std::optional only when a nested struct is also
present.
Product: gcc
Version: 1