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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot 
gnu.org
           Keywords|needs-bisection             |

--- Comment #22 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #17)
> Looks like this was fixed in GCC 12:
>   <bb 20> [local count: 344921666]:
>   # _30 = PHI <-1(12), 0(17)>
>   tbuf ={v} {CLOBBER(eol)};
>   return _30;

And I broke it again in GCC 16 with r16-5258-g1d8e2d51e5c5cb .

I am going to move make_forwarders_with_degenerate_phis to tree-cfg.cc.
then call make_forwarders_with_degenerate_phis in
execute_cleanup_cfg_post_optimizing after the last time cleanup_cfg is called.

Also remove the last TODO_cleanup_cfg from execute_cleanup_cfg_post_optimizing.
This will fix it also for -O1 case.

Reply via email to