aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorGeoff Keating <geoffk@cygnus.com>2000-08-14 05:59:50 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2000-08-14 05:59:50 +0000
commit0858c623d0c2307d5072575f394e05448b12817f (patch)
treebf2013914495537d0dd5a8f1d43cb696b4b8434e /gcc/flow.c
parent51a017d8bc4aa54f56d0f245dacf5e847c947b9f (diff)
downloadgcc-0858c623d0c2307d5072575f394e05448b12817f.zip
gcc-0858c623d0c2307d5072575f394e05448b12817f.tar.gz
gcc-0858c623d0c2307d5072575f394e05448b12817f.tar.bz2
flow.c (attempt_auto_inc): Remove unused variable `bb'.
* flow.c (attempt_auto_inc): Remove unused variable `bb'. (attempt_auto_inc): Suppress parentheses warning. * function.c (put_reg_into_stack): Remove unused variable `unsigned_p'. * loop.c (load_mems): Remove `u' suffix in two places. * config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from hex constants. * config/rs6000/rs6000.h: Likewise. * config/rs6000/sol-c0.c: Prototype some functions. Remove the __eabi dummy routine. * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused variable `buf_ptr'. From-SVN: r35670
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 6c3b18d..e5df347 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -4879,7 +4879,6 @@ attempt_auto_inc (pbi, inc, insn, mem, incr, incr_reg)
Change it to q = p, ...*q..., q = q+size.
Then fall into the usual case. */
rtx insns, temp;
- basic_block bb;
start_sequence ();
emit_move_insn (q, incr_reg);
@@ -4956,7 +4955,7 @@ attempt_auto_inc (pbi, inc, insn, mem, incr, incr_reg)
/* If the original source was dead, it's dead now. */
rtx note;
- while (note = find_reg_note (incr, REG_DEAD, NULL_RTX))
+ while ((note = find_reg_note (incr, REG_DEAD, NULL_RTX)) != NULL_RTX)
{
remove_note (incr, note);
if (XEXP (note, 0) != incr_reg)