[Bug c++/55340] Invalid maybe unitialized warning
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55340 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WORKSFORME --- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2013-02-27 16:03:22 UTC --- Mainline (would be 4.8.0) is fine and I can't even compile the testcase with 4_6-branch, thus this isn't a regression. In the future, please do your best to reduce the size of your testcase: in 99.999 % of the cases, 2-3 KB are enough.
[Bug c++/55340] Invalid maybe unitialized warning
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55340 --- Comment #3 from Johnny Willemsen jwillemsen at remedy dot nl 2013-02-27 19:20:24 UTC --- Thanks for checking this, will also try 4.8.0 at some point. We have hundreds of tests using C++11 extensively and this was the only one exposing this warning. This is mostly generated code and I tried to reduce it further, but when I reduced it further the warning was gone. I didn't had a clue why it could be triggered, that lack of knowledge prevented me from reducing the test case further
[Bug c++/55340] Invalid maybe unitialized warning
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55340 --- Comment #1 from Johnny Willemsen jwillemsen at remedy dot nl 2012-11-15 14:17:38 UTC --- Lowering optimization from -O3 to -O2 removes the warning