[patch] h8300: Adjust spacing.
Kazu Hirata
kazu@cs.umass.edu
Tue Nov 26 20:31:00 GMT 2002
Hi,
Attached is a patch to adjust spacing. Committed as obvious.
Kazu Hirata
2002-11-26 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c: Adjust spacing.
* config/h8300/h8300.h: Likewise.
Index: h8300.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.c,v
retrieving revision 1.163
diff -u -r1.163 h8300.c
--- h8300.c 25 Nov 2002 00:27:13 -0000 1.163
+++ h8300.c 27 Nov 2002 03:34:36 -0000
@@ -314,7 +314,7 @@
error ("-ms2600 is used without -ms");
target_flags |= MASK_H8300S;
}
-
+
if (TARGET_H8300 && TARGET_NORMAL_MODE)
{
error ("-mn is used without -mh or -ms");
Index: h8300.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.h,v
retrieving revision 1.117
diff -u -r1.117 h8300.h
--- h8300.h 21 Nov 2002 14:09:31 -0000 1.117
+++ h8300.h 27 Nov 2002 03:34:37 -0000
@@ -42,7 +42,7 @@
do \
{ \
if (TARGET_H8300H) \
- { \
+ { \
builtin_define ("__H8300H__"); \
builtin_assert ("cpu=h8300h"); \
builtin_assert ("machine=h8300h"); \
@@ -52,7 +52,7 @@
} \
} \
else if (TARGET_H8300S) \
- { \
+ { \
builtin_define ("__H8300S__"); \
builtin_assert ("cpu=h8300s"); \
builtin_assert ("machine=h8300s"); \
@@ -62,7 +62,7 @@
} \
} \
else \
- { \
+ { \
builtin_define ("__H8300__"); \
builtin_assert ("cpu=h8300"); \
builtin_assert ("machine=h8300"); \
@@ -74,14 +74,14 @@
#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 @@
{"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 @@
|| (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 \
More information about the Gcc-patches
mailing list