aboutsummaryrefslogtreecommitdiff
path: root/gcc/ifcvt.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2006-11-27 16:07:10 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2006-11-27 15:07:10 +0000
commit071a42f958c1514d608870c965de88af5f797ec2 (patch)
tree3174477a8d1b3916f3d18072026872cc7db41e00 /gcc/ifcvt.c
parent2505a3f233da445e15c2a5d6bdb82c7a6dd6a2d4 (diff)
downloadgcc-071a42f958c1514d608870c965de88af5f797ec2.zip
gcc-071a42f958c1514d608870c965de88af5f797ec2.tar.gz
gcc-071a42f958c1514d608870c965de88af5f797ec2.tar.bz2
cfgexpand.c (construct_exit_block): Don't disturb end of last BB.
* cfgexpand.c (construct_exit_block): Don't disturb end of last BB. * rtl.texi (NOTE_INSN_FUNCTION_END): Remove. * final.c (final_scan_insn): Don't scan NOTE_INSN_FUNCTION_END. * insn-notes.def (FUNCTION_END): Remove. * jump.c (delete_related_insns): Don't worry about FUNCTION_END. (redicect_jump_2): Don't accept -1 parameter to remove FUNCTION_END note. * ifcvt.c (dead_or_predictable): Update call of redirect_jump_2. * function.c (expand_function_end): Don't emit NOTE_INSN_FUNCTION_END * cfglayout.c (duplicate_insn_chain): Don't worry about NOTE_FUNCTION_END. From-SVN: r119250
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r--gcc/ifcvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index 6028360..b869092 100644
--- a/gcc/ifcvt.c
+++ b/gcc/ifcvt.c
@@ -3773,7 +3773,7 @@ dead_or_predicable (basic_block test_bb, basic_block merge_bb,
if (other_bb != new_dest)
{
- redirect_jump_2 (jump, old_dest, new_label, -1, reversep);
+ redirect_jump_2 (jump, old_dest, new_label, 0, reversep);
redirect_edge_succ (BRANCH_EDGE (test_bb), new_dest);
if (reversep)