aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2002-11-27 03:46:50 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-11-27 03:46:50 +0000
commit920e86b8da49ad52352bb27c7abde2993a551a9b (patch)
tree620b97e2b32e48cb5e006204e4f732b9c6ef6e61 /gcc
parent7b1bd3c534986f4ceffcdc726e83cb668293d39e (diff)
downloadgcc-920e86b8da49ad52352bb27c7abde2993a551a9b.zip
gcc-920e86b8da49ad52352bb27c7abde2993a551a9b.tar.gz
gcc-920e86b8da49ad52352bb27c7abde2993a551a9b.tar.bz2
h8300.c: Adjust spacing.
* config/h8300/h8300.c: Adjust spacing. * config/h8300/h8300.h: Likewise. From-SVN: r59557
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.c2
-rw-r--r--gcc/config/h8300/h8300.h34
3 files changed, 23 insertions, 18 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fa7d688..3ea3f35 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-26 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.c: Adjust spacing.
+ * config/h8300/h8300.h: Likewise.
+
2002-11-26 Richard Henderson <rth@redhat.com>
* 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 0f72d11..54dc57d 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 29a9ba4..96cd0bb 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 \