diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-24 08:57:37 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-24 08:57:37 +0000 |
commit | 46a5816d47cb73671be464736cf8a69b40456812 (patch) | |
tree | d6b39cb77139fcce35c024a4f6a98f220ffb6438 /gcc/cfgexpand.c | |
parent | 698b274b3f32e4926416469dc6ad5d6122c6f0ba (diff) | |
download | gcc-46a5816d47cb73671be464736cf8a69b40456812.tar.gz |
PR middle-end/46629
* cfgexpand.c (maybe_cleanup_end_of_block): Test NEXT_INSN (insn)
instead of insn with any_condjump_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167108 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index a65f12ba490..f15e4e02dba 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -1695,7 +1695,7 @@ maybe_cleanup_end_of_block (edge e, rtx last) insn = PREV_INSN (insn); if (JUMP_P (NEXT_INSN (insn))) { - if (!any_condjump_p (insn)) + if (!any_condjump_p (NEXT_INSN (insn))) { gcc_assert (BARRIER_P (NEXT_INSN (NEXT_INSN (insn)))); delete_insn (NEXT_INSN (NEXT_INSN (insn))); |