https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46763
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=122083
Target Milestone|--- |16.0
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed on the trunk by r16-4260-gdecd4277e97114.
Phiopt1 turns:
```
g = _14;
goto <bb 6>; [INV]
<bb 5> :
g = i_5;
<bb 6> :
```
Into:
```
goto <bb 6>; [INV]
<bb 5> :
<bb 6> :
# cstore_2 = PHI <_14(4), i_5(5)>
g = cstore_2;
```
And then PRE can do the rest.