summaryrefslogtreecommitdiff
path: root/gcc/loop-doloop.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-19 18:10:29 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-19 18:10:29 +0000
commitdbffa6761a64972bb9531d85317a0943cd4069ac (patch)
tree01ccbf52888a5f9fbe02bafcd529d62b373d8934 /gcc/loop-doloop.c
parentff089219c8acded3c3857a88cd7219e0fa5c66d6 (diff)
downloadgcc-dbffa6761a64972bb9531d85317a0943cd4069ac.tar.gz
2010-02-19 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 156900 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@156902 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-doloop.c')
-rw-r--r--gcc/loop-doloop.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/loop-doloop.c b/gcc/loop-doloop.c
index 0fa0fe21e51..d1bd2855915 100644
--- a/gcc/loop-doloop.c
+++ b/gcc/loop-doloop.c
@@ -1,6 +1,6 @@
/* Perform doloop optimizations
- Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation,
- Inc.
+ Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010
+ Free Software Foundation, Inc.
Based on code by Michael P. Hayes (m.hayes@elec.canterbury.ac.nz)
This file is part of GCC.
@@ -291,7 +291,8 @@ add_test (rtx cond, edge *e, basic_block dest)
op0 = force_operand (op0, NULL_RTX);
op1 = force_operand (op1, NULL_RTX);
label = block_label (dest);
- do_compare_rtx_and_jump (op0, op1, code, 0, mode, NULL_RTX, NULL_RTX, label);
+ do_compare_rtx_and_jump (op0, op1, code, 0, mode, NULL_RTX,
+ NULL_RTX, label, -1);
jump = get_last_insn ();
if (!jump || !JUMP_P (jump))