https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79003

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #4)
> 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.

Or PR39612.

Reply via email to