]> git.ipfire.org Git - thirdparty/gcc.git/commit
shrink-wrap: Once more PRs 67778, 68634, and now 68909
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 8 Jan 2016 03:58:40 +0000 (04:58 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Fri, 8 Jan 2016 03:58:40 +0000 (04:58 +0100)
commit52ad5601bf56aba4d5da585c6a212ce3f6509af3
tree86689541fc8ed24ff266c281f8acac6768052b12
parent7a127fa7c463b6b7c0285b32bac52bbdfc9a2117
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.

From-SVN: r232148
gcc/ChangeLog
gcc/shrink-wrap.c