[Bug tree-optimization/109434] [12 Regression] std::optional weird -Wmaybe-uninitialized and behaviour with -O2

2023-04-13 Thread tomas.pecka at cesnet dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109434 --- Comment #6 from Tomáš Pecka --- I can confirm that the bug now does not appear in our application code that I simplified into attached code. Tested on commit df7f55cb2ae. Thank you!

[Bug c++/109434] New: std::optional weird -Wmaybe-unitialized and behaviour with -O2

2023-04-06 Thread tomas.pecka at cesnet dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109434 Bug ID: 109434 Summary: std::optional weird -Wmaybe-unitialized and behaviour with -O2 Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal