diff options
author | Zdenek Dvorak <dvorakz@suse.cz> | 2004-12-28 11:33:39 +0100 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2004-12-28 10:33:39 +0000 |
commit | 6e17f9c1fe6e97255c7885c347e7895e8bb04ecc (patch) | |
tree | 613dd3455c0d065b6e486371a00e36022ee964ad /gcc/loop-iv.c | |
parent | 8127356e4eabbf80bb7bfbae7b12e4daa6e80560 (diff) | |
download | gcc-6e17f9c1fe6e97255c7885c347e7895e8bb04ecc.zip gcc-6e17f9c1fe6e97255c7885c347e7895e8bb04ecc.tar.gz gcc-6e17f9c1fe6e97255c7885c347e7895e8bb04ecc.tar.bz2 |
re PR rtl-optimization/19103 (Current CVS (2004/12/21) doesn't compile with profiledbootstrap)
PR rtl-optimization/19103
* loop-iv.c (iv_number_of_iterations): Fix typo.
From-SVN: r92669
Diffstat (limited to 'gcc/loop-iv.c')
-rw-r--r-- | gcc/loop-iv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c index 704d51e..04f53b8 100644 --- a/gcc/loop-iv.c +++ b/gcc/loop-iv.c @@ -2132,7 +2132,7 @@ iv_number_of_iterations (struct loop *loop, rtx insn, rtx condition, if (iv0.step == const0_rtx) step_val = -INTVAL (iv1.step); else - step_val = INTVAL (iv1.step); + step_val = INTVAL (iv0.step); /* Ignore loops of while (i-- < 10) type. */ if (step_val < 0) |