diff options
author | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-03 09:18:22 +0000 |
---|---|---|
committer | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-03 09:18:22 +0000 |
commit | ed1e5d409737c9503e0e2cb9c51ea2f4a69c8ad0 (patch) | |
tree | 68b53daa1d85b745a1161f3739cf696cc0a89478 /gcc/final.c | |
parent | e306f5838f1eb69beba5197a30aea0fb17f63599 (diff) | |
download | gcc-ed1e5d409737c9503e0e2cb9c51ea2f4a69c8ad0.tar.gz |
2002-01-02 Eric Christopher <echristo@redhat.com>
* final.c (final_scan_insn): Change 0 -> NULL_RTX in
FIND_REG_INC_NOTE call. Update copyright.
* loop.c (canonicalize_condition): Ditto.
* reorg.c (delete_scheduled_jump): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48506 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/final.c b/gcc/final.c index ffad9aef32c..60ed60960a7 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1,6 +1,6 @@ /* Convert RTL to assembler code and output it, for GNU compiler. Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, - 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GCC. @@ -960,7 +960,7 @@ shorten_branches (first) else if (GET_CODE (insn) == CODE_LABEL) { rtx next; - + /* Merge in alignments computed by compute_alignments. */ log = LABEL_TO_ALIGNMENT (insn); if (max_log < log) @@ -2372,7 +2372,7 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes) && rtx_equal_p (SET_SRC (set), cc_status.value2))) { /* Don't delete insn if it has an addressing side-effect. */ - if (! FIND_REG_INC_NOTE (insn, 0) + if (! FIND_REG_INC_NOTE (insn, NULL_RTX) /* or if anything in it is volatile. */ && ! volatile_refs_p (PATTERN (insn))) { @@ -3041,7 +3041,7 @@ get_mem_expr_from_op (op, paddressp) expr = get_mem_expr_from_op (op, &inner_addressp); return inner_addressp ? 0 : expr; } - + /* Output operand names for assembler instructions. OPERANDS is the operand vector, OPORDER is the order to write the operands, and NOPS is the number of operands to write. */ @@ -3175,7 +3175,7 @@ output_asm_insn (template, operands) output_operand_lossage ("unterminated assembly dialect alternative"); break; } - } + } while (*p++ != '}'); dialect = 0; } |