[Bug rtl-optimization/79003] [7 Regression] r238991 breaks ODR
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 6 09:14:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79003
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Just to document, I see another Werror in LTO bootstrap:
../../gcc/predict.c: In function ‘set_even_probabilities’:
../../gcc/predict.c:798:8: error: ‘e’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
edge e;
^
Where LIM does following transformation:
<bb 2> [15.14%]:
_1 = &bb_23(D)->succs;
if (_1 == 0B)
goto <bb 3>; [0.04%]
else
goto <bb 35>; [99.96%]
<bb 35> [15.13%]:
_79 = MEM[(struct vec * *)bb_23(D) + 8B];
e_lsm.1284_111 = e;
e_lsm.1285_130 = 0;
goto <bb 4>; [100.00%]
<bb 3> [0.04%]:
_ZL12ei_container13edge_iterator.isra.19.part.20 ();
<bb 4> [99.96%]:
# nedges_90 = PHI <nedges_16(14), 0(35)>
# _93 = PHI <_94(14), 0(35)>
# e_lsm.1284_2 = PHI <e_lsm.1284_45(14), e_lsm.1284_111(35)>
# e_lsm.1285_15 = PHI <e_lsm.1285_5(14), e_lsm.1285_130(35)>
if (_79 != 0B)
goto <bb 5>; [70.00%]
else
goto <bb 6>; [30.00%]
I guess it's a false positive.
More information about the Gcc-bugs
mailing list