diff options
author | Jason Merrill <jason@casey.cygnus.com> | 2000-05-04 21:15:05 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-05-04 17:15:05 -0400 |
commit | f9e158c377d54f13901c7ab2e79de3f741c71e39 (patch) | |
tree | f94edf423be1c6f8735d954344a16ef175aca24d /gcc/rtl.h | |
parent | 926fd2e161ada3acf143b8c123b9237d53e3c27e (diff) | |
download | gcc-f9e158c377d54f13901c7ab2e79de3f741c71e39.zip gcc-f9e158c377d54f13901c7ab2e79de3f741c71e39.tar.gz gcc-f9e158c377d54f13901c7ab2e79de3f741c71e39.tar.bz2 |
simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
* simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
* stor-layout.c (place_field): Likewise.
* integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
* expr.c (store_expr): Make align unsigned.
* explow.c (plus_constant_wide): Make low words unsigned.
* expmed.c (choose_multiplier): Likewise.
* fold-const.c (fold): Likewise.
* tree.h (build_int_2): Likewise.
* tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
* emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
(init_emit): Change cast to unsigned char*.
* varasm.c (compare_constant_1): Add cast to char*.
* gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
* reload1.c (reload): Likewise.
* rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
From-SVN: r33684
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -772,9 +772,18 @@ extern const char * const note_insn_name[NOTE_INSN_MAX - NOTE_INSN_BIAS]; RTX. Otherwise, vice versa. Use this macro only when you are *sure* that you know that the MEM is in a structure, or is a scalar. VAL is evaluated only once. */ -#define MEM_SET_IN_STRUCT_P(RTX, VAL) \ - ((VAL) ? (MEM_IN_STRUCT_P (RTX) = 1, MEM_SCALAR_P (RTX) = 0) \ - : (MEM_IN_STRUCT_P (RTX) = 0, MEM_SCALAR_P (RTX) = 1)) +#define MEM_SET_IN_STRUCT_P(RTX, VAL) do { \ + if (VAL) \ + { \ + MEM_IN_STRUCT_P (RTX) = 1; \ + MEM_SCALAR_P (RTX) = 0; \ + } \ + else \ + { \ + MEM_IN_STRUCT_P (RTX) = 0; \ + MEM_SCALAR_P (RTX) = 1; \ + } \ +} while (0) /* For a MEM rtx, the alias set. If 0, this MEM is not in any alias set, and may alias anything. Otherwise, the MEM can only alias |