[Bug middle-end/78044] -Wmaybe-uninitialized and -O2: false positive with boost::optional

2021-04-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78044 Martin Sebor changed: What|Removed |Added Target Milestone|--- |10.0 Resolution|---

[Bug middle-end/78044] -Wmaybe-uninitialized and -O2: false positive with boost::optional

2017-11-05 Thread akrzemi1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78044 --- Comment #7 from Andrzej Krzemienski --- This still reproduces in version 7.2. Here is a Wandbox link: https://wandbox.org/permlink/5uCAr5u0xpynljhQ Here is the code, you need to compile it with -DNDEBUG -O2: ``` #include class O { int

[Bug middle-end/78044] -Wmaybe-uninitialized and -O2: false positive with boost::optional

2016-10-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78044 --- Comment #6 from Richard Biener --- Well. someFunction () is optimized down to just void someFunction() () { int aOptional$4; struct C D.2560; struct C D.2555; void * _4; : C::operator mpl_::B (&D.2555); D.2555 ={v} {CLOBBER};

[Bug middle-end/78044] -Wmaybe-uninitialized and -O2: false positive with boost::optional

2016-10-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78044 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/78044] -Wmaybe-uninitialized and -O2: false positive with boost::optional

2016-10-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78044 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #4

[Bug middle-end/78044] -Wmaybe-uninitialized and -O2: false positive with boost::optional

2016-10-19 Thread akrzemi1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78044 Andrzej Krzemienski changed: What|Removed |Added CC||akrzemi1 at gmail dot com --- Comm

[Bug middle-end/78044] -Wmaybe-uninitialized and -O2: false positive with boost::optional

2016-10-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78044 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Component|c++