diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-12-16 19:40:19 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-12-16 19:40:19 +0000 |
commit | f11009b71182059ccda81e666e1c23eda4cec8a9 (patch) | |
tree | ec62ae60b17d300809bce6fc2000e581cc3bc78a /gcc | |
parent | d092a9253335e1ffe2ca762e9f038362cced31c4 (diff) | |
download | gcc-f11009b71182059ccda81e666e1c23eda4cec8a9.zip gcc-f11009b71182059ccda81e666e1c23eda4cec8a9.tar.gz gcc-f11009b71182059ccda81e666e1c23eda4cec8a9.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sh/sh.h | 4 |
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. |