shrink-wrap: Once more PRs 67778, 68634, and now 68909
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jan 2016 03:58:40 +0000 (03:58 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jan 2016 03:58:40 +0000 (03:58 +0000)
commit3189b981f2677e6100d8da78c4d7078696643b78
tree86689541fc8ed24ff266c281f8acac6768052b12
parent517906ffcba7476ca0bb7d92db85a1a3455249fa
shrink-wrap: Once more PRs 67778, 68634, and now 68909

If a candidate PRE cannot get the prologue because a block BB is
reachable from it, but PRE does not dominate BB, we try again with the
dominators of PRE.  That "try again" needs to again consider BB though,
we aren't done with it.

PR rtl-optimization/67778
PR rtl-optimization/68634
PR rtl-optimization/68909
* shrink-wrap.c (try_shrink_wrapping): Add comment.  Don't pop
block from the stack until done with it.  Remove a superfluous
bitmap set.  Remove a superfluous bitmap test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232148 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/shrink-wrap.c