https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79768
--- Comment #4 from Casper Ti. Vector <caspervector at gmail dot com> --- (In reply to Manuel López-Ibáñez from comment #3) > This is just too weird code for GCC to analyze correctly at -O2. It doesn't > warn at -O3 (with 5.4.0 20160609) The coding pattern is quite common though. Nevertheless, if that only makes trouble for `-Wmaybe-uninitialized' (and not the generated code), it is somehow understandable. Thanks anyway :)