------- Comment #2 from rguenth at gcc dot gnu dot org  2010-05-05 11:13 -------
Ah, it needs -fno-tree-dominator-opts.

We are performing insertion in non-optimal order.  We are inserting in

  BB11
    |
  BB12
   /  \
 BB44  BB45

and insert into BB45 before inserting into BB11, because walking dominators
with

  for (son = first_dom_son (CDI_DOMINATORS, block);
       son;
       son = next_dom_son (CDI_DOMINATORS, son))
    {
      new_stuff |= insert_aux (son);
    }

does not visit blocks in optimal order if they are in a cycle.

Related to PR43571.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |43571
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-05-05 11:13:34
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43984

Reply via email to