sh.h (INITIALIZE_TRAMPOLINE): Enclose the block statement in do/while(0).
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 16 Dec 2000 19:40:19 +0000 (19:40 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sat, 16 Dec 2000 19:40:19 +0000 (19:40 +0000)
* config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
statement in do/while(0).

From-SVN: r38313

gcc/ChangeLog
gcc/config/sh/sh.h

index 91a8e0887d2a12933c72e60d88c6f499ac586b21..1be73dcf7016f7b23c94ce8f1de95e9012cee8fa 100644 (file)
@@ -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,
index 076539ec3c9c479708ac9b517a4ac32103c95bcc..352d7c5abc0021312645803ebc2eddbc4352c990 100644 (file)
@@ -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.