[Bug tree-optimization/47386] Wrong warning: ‘w.dim[2].stride’ may be used uninitialized in this function [-Wuninitialized]
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 29 13:44:43 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47386
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |12.2.0
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Re-confirmed with GCC 12 and trunk. We diagnose a use of w.dim[1].ubound
conditional on ubound.1 > 0 && ll == 0. I believe we're jump-threading
if (ll) around the T = 0 stmt and then mixing up paths. -fno-thread-jumps
fixes
the thing.
More information about the Gcc-bugs
mailing list