From 920e86b8da49ad52352bb27c7abde2993a551a9b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 27 Nov 2002 03:46:50 +0000 Subject: [PATCH] h8300.c: Adjust spacing. * config/h8300/h8300.c: Adjust spacing. * config/h8300/h8300.h: Likewise. From-SVN: r59557 --- gcc/ChangeLog | 5 +++++ gcc/config/h8300/h8300.c | 2 +- gcc/config/h8300/h8300.h | 34 +++++++++++++++++----------------- 3 files changed, 23 insertions(+), 18 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa7d688de3b..3ea3f355a5e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-26 Kazu Hirata + + * config/h8300/h8300.c: Adjust spacing. + * config/h8300/h8300.h: Likewise. + 2002-11-26 Richard Henderson * hooks.c (hook_bool_void_false, hook_void_tree_int, diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 0f72d11bc19..54dc57d3f4e 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -314,7 +314,7 @@ h8300_init_once () error ("-ms2600 is used without -ms"); target_flags |= MASK_H8300S; } - + if (TARGET_H8300 && TARGET_NORMAL_MODE) { error ("-mn is used without -mh or -ms"); diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 29a9ba49fa8..96cd0bb5ffc 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -42,7 +42,7 @@ extern const char * const *h8_reg_names; do \ { \ if (TARGET_H8300H) \ - { \ + { \ builtin_define ("__H8300H__"); \ builtin_assert ("cpu=h8300h"); \ builtin_assert ("machine=h8300h"); \ @@ -52,7 +52,7 @@ extern const char * const *h8_reg_names; } \ } \ else if (TARGET_H8300S) \ - { \ + { \ builtin_define ("__H8300S__"); \ builtin_assert ("cpu=h8300s"); \ builtin_assert ("machine=h8300s"); \ @@ -62,7 +62,7 @@ extern const char * const *h8_reg_names; } \ } \ else \ - { \ + { \ builtin_define ("__H8300__"); \ builtin_assert ("cpu=h8300"); \ builtin_assert ("machine=h8300"); \ @@ -74,14 +74,14 @@ extern const char * const *h8_reg_names; #define LIB_SPEC "%{mrelax:-relax} %{g:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" -#define OPTIMIZATION_OPTIONS(LEVEL, SIZE) \ - do \ - { \ - /* Basic block reordering is only beneficial on targets with cache \ - and/or variable-cycle branches where (cycle count taken != \ - cycle count not taken). */ \ - flag_reorder_blocks = 0; \ - } \ +#define OPTIMIZATION_OPTIONS(LEVEL, SIZE) \ + do \ + { \ + /* Basic block reordering is only beneficial on targets with cache \ + and/or variable-cycle branches where (cycle count taken != \ + cycle count not taken). */ \ + flag_reorder_blocks = 0; \ + } \ while (0) /* Print subsidiary information on the compiler version in use. */ @@ -162,7 +162,7 @@ extern int target_flags; {"relax", MASK_RELAX, N_("Enable linker relaxing")}, \ {"rtl-dump", MASK_RTL_DUMP, NULL}, \ {"h", MASK_H8300H, N_("Generate H8/300H code")}, \ - {"n", MASK_NORMAL_MODE, N_("Enable the normal mode")}, \ + {"n", MASK_NORMAL_MODE, N_("Enable the normal mode")}, \ {"no-h", -MASK_H8300H, N_("Do not generate H8/300H code")}, \ {"align-300", MASK_ALIGN_300, N_("Use H8/300 alignment rules")}, \ { "", TARGET_DEFAULT, NULL}} @@ -870,11 +870,11 @@ struct cum_arg || (GET_CODE (OP) == MEM && GET_CODE (XEXP (OP, 0)) == SYMBOL_REF \ && TARGET_H8300S) \ || ((GET_CODE (OP) == MEM && GET_CODE (XEXP (OP, 0)) == CONST \ - && GET_CODE (XEXP (XEXP (OP, 0), 0)) == PLUS \ - && GET_CODE (XEXP (XEXP (XEXP (OP, 0), 0), 0)) == SYMBOL_REF \ - && GET_CODE (XEXP (XEXP (XEXP (OP, 0), 0), 1)) == CONST_INT) \ - && (TARGET_H8300S \ - || SYMBOL_REF_FLAG (XEXP (XEXP (XEXP (OP, 0), 0), 0)))) \ + && GET_CODE (XEXP (XEXP (OP, 0), 0)) == PLUS \ + && GET_CODE (XEXP (XEXP (XEXP (OP, 0), 0), 0)) == SYMBOL_REF \ + && GET_CODE (XEXP (XEXP (XEXP (OP, 0), 0), 1)) == CONST_INT) \ + && (TARGET_H8300S \ + || SYMBOL_REF_FLAG (XEXP (XEXP (XEXP (OP, 0), 0), 0)))) \ || (GET_CODE (OP) == MEM \ && h8300_eightbit_constant_address_p (XEXP (OP, 0))) \ || (GET_CODE (OP) == MEM && TARGET_H8300S \