aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sh/sh.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 91a8e08..1be73dc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-16 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
+ statement in do/while(0).
+
Sat Dec 16 19:56:24 MET 2000 Jan Hubicka <jh@suse.cz>
* i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index 076539e..352d7c5 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -1241,7 +1241,7 @@ extern int current_function_anonymous_args;
FNADDR is an RTX for the address of the function's pure code.
CXT is an RTX for the static chain value for the function. */
-#define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) \
+#define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) do \
{ \
emit_move_insn (gen_rtx_MEM (SImode, (TRAMP)), \
GEN_INT (TARGET_LITTLE_ENDIAN ? 0xd301dd02 : 0xdd02d301));\
@@ -1259,7 +1259,7 @@ extern int current_function_anonymous_args;
else \
emit_insn (gen_ic_invalidate_line (TRAMP)); \
} \
-}
+} while (0)
/* A C expression whose value is RTL representing the value of the return
address for the frame COUNT steps up from the current frame.