diff options
author | John David Anglin <dave@hiauly1.hia.nrc.ca> | 2001-03-02 21:41:37 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2001-03-02 21:41:37 +0000 |
commit | dbbbbf3b8d58533aa895323f0de1bd77c816bf40 (patch) | |
tree | 8a00f5b43c598532f161eef6222794b0969e1a8b /gcc/genrecog.c | |
parent | 4cacbdf21f15a046165c16d75a329f7f52d96883 (diff) | |
download | gcc-dbbbbf3b8d58533aa895323f0de1bd77c816bf40.zip gcc-dbbbbf3b8d58533aa895323f0de1bd77c816bf40.tar.gz gcc-dbbbbf3b8d58533aa895323f0de1bd77c816bf40.tar.bz2 |
print-rtl.c (print_rtx): Cast enums to int for comparison.
* print-rtl.c (print_rtx): Cast enums to int for comparison.
* c-decl.c (grokdeclarator): Cast enums to int for comparison and
shifts.
* c-format.c (C_STD_VER): Cast to int for comparisons.
(check_function_format): Cast various enums to int for &.
(maybe_read_dollar_number): Likewise.
(check_format_info): Likewise.
(check_format_info_main): Likewise.
* expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
(safe_from_p): Likewise.
* varasm.c (const_hash): Cast enum to int for %.
* emit-rtl.c (init_emit_once): Use int loop variable to work around
pcc enum problems with < and ++ operators.
* regclass.c (init_reg_sets_1): Cast enums for comparison.
(choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
(regclass_init): Change enum class to int to iterate over reg_classes.
* genrecog.c (merge_trees): Cast enums for comparison.
* rtl.h (GET_CODE): Cast to enum rtx_code.
(PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
(GET_MODE): Cast to enum machine_mode.
(PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
(GET_NOTE_INSN_NAME): Cast enum to int.
* tree.h (TREE_CODE): Cast to enum tree_code.
(TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
* timevar.c (timevar_print): Change loop variable id from enum to
unsigned int.
* fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
* config/i386/i386.md: Use PUT_MODE for mode assignment.
* toplev.c (compile_file): Cast enum DFI to int.
(decode_d_option): Likewise.
From-SVN: r40193
Diffstat (limited to 'gcc/genrecog.c')
-rw-r--r-- | gcc/genrecog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genrecog.c b/gcc/genrecog.c index cbca47b..2856fe6 100644 --- a/gcc/genrecog.c +++ b/gcc/genrecog.c @@ -1432,7 +1432,7 @@ merge_trees (oldh, addh) how expensive/important the test is. Given that the tests are also ordered within the list, examining the first is sufficient. */ - if (add->tests->type < old->tests->type) + if ((int) add->tests->type < (int) old->tests->type) insert_before = old; } |