diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-11 00:18:02 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-11 00:18:02 +0000 |
commit | 08985aff434169721ca5c48796a36c902265b566 (patch) | |
tree | 5269637c07816870a919120837e9ac717724d3fe /gcc/gengenrtl.c | |
parent | 21ca86aea331e514dd9c63516c4c669fbd7d1f92 (diff) | |
download | gcc-08985aff434169721ca5c48796a36c902265b566.tar.gz |
* gengenrtl.c (find_formats, genheader): Make i an unsigned
int, remove cast of NUM_RTX_CODE.
* machmode.h: Make the HAVE_MACHINE_MODES #ifdef encompass the
entire file. Remove the #ifs on GET_MODE_MASK etc and
GET_MODE_WIDER_MODE etc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72321 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gengenrtl.c')
-rw-r--r-- | gcc/gengenrtl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c index 9fe9481bc8e..740128b8e9d 100644 --- a/gcc/gengenrtl.c +++ b/gcc/gengenrtl.c @@ -165,9 +165,9 @@ excluded_rtx (int idx) static void find_formats (void) { - int i; + unsigned int i; - for (i = 0; i < (int)NUM_RTX_CODE; i++) + for (i = 0; i < NUM_RTX_CODE; i++) { const char **f; @@ -296,7 +296,7 @@ genlegend (void) static void genheader (void) { - int i; + unsigned int i; const char **fmt; puts ("#ifndef GCC_GENRTL_H"); @@ -307,7 +307,7 @@ genheader (void) putchar ('\n'); - for (i = 0; i < (int) NUM_RTX_CODE; i++) + for (i = 0; i < NUM_RTX_CODE; i++) if (! special_format (defs[i].format)) genmacro (i); |