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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-04-18
            Version|unknown                     |9.0
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot 
gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
This is mergephi at work:

@@ -101,14 +45,10 @@
   if (i_5 != 9)
     goto <bb 3>; [90.00%]
   else
-    goto <bb 5>; [10.00%]
-
-  <bb 5> [local count: 107374183]:
-  # DEBUG i => NULL
-  # DEBUG i => 0
+    goto <bb 6>; [10.00%]

   <bb 6> [local count: 160259975]:
-  # d_21 = PHI <0(5), 1(8)>
+  # d_21 = PHI <0(4), 1(8)>
   # DEBUG d => NULL
   # DEBUG d => d_21
   if (d_21 == 0)

where remove_forwarder_block_with_phi doesn't bother to move debug stmts
as the fixed CFG cleanup copy tried and now does conservatively.

Reply via email to