[Bug tree-optimization/80635] [8/9/10 regression] std::optional and bogus -Wmaybe-uninitialized warning
law at redhat dot com
gcc-bugzilla@gcc.gnu.org
Mon Mar 2 18:21:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635
--- Comment #47 from Jeffrey A. Law <law at redhat dot com> ---
Martin, yea, your patch does prevent creation of the V_C_E. That in turn
allows maybe_a$live_7 to be directly used in the conditional which in turn
allows tree-ssa-uninit.c to realize the problematic path isn't runtime feasible
and suppresses the warning.
More information about the Gcc-bugs
mailing list