diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-10 10:55:20 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-10 10:55:20 +0000 |
commit | 27d0c333857a441a3629bcda370457da97e49bf1 (patch) | |
tree | 71dad6a024a9276781b0e5afd4cd53f3d06901cf /gcc/alias.c | |
parent | fc0baab812a4117fd5663965fa62559dce20b9bf (diff) | |
download | gcc-27d0c333857a441a3629bcda370457da97e49bf1.tar.gz |
* alias.c (clear_reg_alias_info): Use K&R format definition.
Avoid unsigned warning.
* builtins.c: Use "unsigned int", not "unsigned".
(target_char_cast): Use host_integerp and tree_low_cst.
(expand_builtin_args_info, expand_builtin_frame_address): Likewise.
(c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
(c_getstr): Likewise.
(std_expand_builtin_va_arg): Use int_size_in_bytes.
(builtin_memcpy_read_str): Avoid unsigned warning.
(expand_builtin_memcpy): Alignments are unsigned.
(expand_builtin_strncpy, expand_builtin_memset): Likewise.
(expand_builtin_expect_jump): Use integer_zerop and integer_onep.
* predict.c (expensive_function_p): LIMIT now unsigned.
* resource.c (mark_target_live_regs): Make some vars unsigned.
* sdbout.c: Use "unsigned int", not "unsigned".
(MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
(sdbout_source_line): Likewise.
(sdbout_record_type_name): Remove "const" for NAME declaration.
* config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45503 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
-rw-r--r-- | gcc/alias.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/alias.c b/gcc/alias.c index 8c6ad5f0eb3..5da7740ad6c 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -966,12 +966,11 @@ record_base_value (regno, val, invariant) changes the offset. */ void -clear_reg_alias_info (rtx reg) +clear_reg_alias_info (reg) + rtx reg; { - int regno = REGNO (reg); - - if (regno < reg_known_value_size) - reg_known_value[regno] = reg; + if (REGNO (reg) < reg_known_value_size) + reg_known_value[REGNO (reg)] = reg; } /* Returns a canonical version of X, from the point of view alias |