diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-11-04 02:40:39 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-11-04 02:40:39 +0000 |
commit | 55710451f2f81d39b82472cfb3d7be7bd4ea98a2 (patch) | |
tree | e579e09abc940fe84b8a5b26cb42b617f7fe5510 /gcc/config/mn10200 | |
parent | 40cdfca60cab2c798fe7138a2d633b93bfd52c4f (diff) | |
download | gcc-55710451f2f81d39b82472cfb3d7be7bd4ea98a2.zip gcc-55710451f2f81d39b82472cfb3d7be7bd4ea98a2.tar.gz gcc-55710451f2f81d39b82472cfb3d7be7bd4ea98a2.tar.bz2 |
convex.c (convex_output_function_prologue): Fix format specifier warning.
* convex.c (convex_output_function_prologue): Fix format specifier
warning.
(asm_declare_function_name): Fix signed/unsigned warning.
(print_operand): Fix format specifier warning.
* convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
* dsp16xx-protos.h (uns_comparison_operator,
num_1600_core_shifts): Prototype.
* dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
(frame_size, frame_pointer_offset): Delete.
(dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
Make static. Fix format specifier warnings.
* dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
(EXTRA_SECTION_FUNCTIONS): Prototype const_section.
* dsp16xx.md: Add default case in switches.
* fr30.h (IN_RANGE): Delete.
* ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
* mcore-protos.h (mcore_output_cmov): Const-ify.
* mcore.c (mcore_output_cmov): Likewise.
* mcore.h (switch_to_section): Make static and prototype.
* mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
unsigned>=0 warnings.
* mn10300.h (REGNO_IN_RANGE_P): Likewise.
* rs6000-protos.h (read_only_data_section,
read_only_private_data_section): Prototype.
* rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
* sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
* sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
From-SVN: r46758
Diffstat (limited to 'gcc/config/mn10200')
-rw-r--r-- | gcc/config/mn10200/mn10200.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/mn10200/mn10200.h b/gcc/config/mn10200/mn10200.h index d6288b8..695ff2c 100644 --- a/gcc/config/mn10200/mn10200.h +++ b/gcc/config/mn10200/mn10200.h @@ -280,7 +280,7 @@ enum reg_class { || (reg_renumber[regno] > 3 && reg_renumber[regno] < FIRST_PSEUDO_REGISTER)) #define REGNO_OK_FOR_INDEX_P(regno) \ - (((regno) >= 0 && regno < 4) \ + (IN_RANGE ((regno), 0, 3) \ || (reg_renumber[regno] >= 0 && reg_renumber[regno] < 4)) @@ -639,7 +639,7 @@ struct cum_arg { int nbytes; }; /* Nonzero if X is a hard reg that can be used as an index or if it is a pseudo reg. */ #define REG_OK_FOR_INDEX_P(X) \ - (((REGNO (X) >= 0 && REGNO(X) <= 3) || REGNO (X) >= FIRST_PSEUDO_REGISTER)) + (IN_RANGE (REGNO (X), 0, 3) || REGNO (X) >= FIRST_PSEUDO_REGISTER) /* Nonzero if X is a hard reg that can be used as a base reg or if it is a pseudo reg. */ #define REG_OK_FOR_BASE_P(X) \ |