rtl.h (locator_eq): New decl.
authorJakub Jelinek <jakub@redhat.com>
Thu, 9 Oct 2008 20:04:10 +0000 (22:04 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 9 Oct 2008 20:04:10 +0000 (22:04 +0200)
commit1692ae7eda60ea567bcd8e8bae40b6f20db5d82a
tree0169af2955472328d5f862f7396b198dfc82b215
parente81897731e2232b88f735bf8b8ce319d76983b51
rtl.h (locator_eq): New decl.

* rtl.h (locator_eq): New decl.
* cfglayout.c (locator_scope): New function.
(insn_scope): Use it.
(locator_eq): New function.
(fixup_reorder_chain): Search for last insn in src bb
that has locator set or first insn in dest bb.  Use
locator_eq instead of == to compare locators.
* cfgrtl.c (cfg_layout_merge_blocks): Likewise.
* cfgcleanup.c (try_forward_edges): Use locator_eq instead of
== to compare locators.

From-SVN: r141009
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/cfglayout.c
gcc/cfgrtl.c
gcc/rtl.h