From: Alexandre Oliva Date: Sat, 16 Dec 2000 19:40:19 +0000 (+0000) Subject: sh.h (INITIALIZE_TRAMPOLINE): Enclose the block statement in do/while(0). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f11009b71182059ccda81e666e1c23eda4cec8a9;p=gcc.git sh.h (INITIALIZE_TRAMPOLINE): Enclose the block statement in do/while(0). * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block statement in do/while(0). From-SVN: r38313 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 91a8e0887d2..1be73dcf701 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-12-16 Alexandre Oliva + + * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block + statement in do/while(0). + Sat Dec 16 19:56:24 MET 2000 Jan Hubicka * 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 076539ec3c9..352d7c5abc0 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.