This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/43984] PRE misses full-redundancies, inserts into loops
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2010 11:13:34 -0000
- Subject: [Bug tree-optimization/43984] PRE misses full-redundancies, inserts into loops
- References: <bug-43984-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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