[Bug middle-end/79768] `-Wmaybe-uninitialized' false positive with optimisation
caspervector at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Mar 4 04:07:00 GMT 2017
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 :)
More information about the Gcc-bugs
mailing list