[Bug c++/102801] Incorrect -Wmaybe-uninitialized warning/interaction for a std::optional only when a nested struct is also present.

2021-10-17 Thread calin.culianu at bitcoincashnode dot org via Gcc-bugs
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

[Bug c++/102801] New: Incorrect -Wmaybe-uninitialized warning/interation for a std::optional only when a nested struct is also present.

2021-10-17 Thread calin.culianu at bitcoincashnode dot org via Gcc-bugs
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