Remove semicolon after ASM_OUTPUT_BEFORE_CASE_LABEL macro body
2017-11-05 Tom de Vries <tom@codesourcery.com> PR other/82784 * config/elfos.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove semicolon after macro body. (ASM_OUTPUT_CASE_LABEL): Add semicolon after ASM_OUTPUT_BEFORE_CASE_LABEL call. * config/arc/arc.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove semicolon after macro body. * config/m68k/m68kelf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Same. * config/mips/mips.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Same. * config/v850/v850.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Same. From-SVN: r254423
This commit is contained in:
parent
b4ef293194
commit
9739c3d303
|
@ -1,3 +1,16 @@
|
|||
2017-11-05 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
PR other/82784
|
||||
* config/elfos.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove semicolon after
|
||||
macro body.
|
||||
(ASM_OUTPUT_CASE_LABEL): Add semicolon after
|
||||
ASM_OUTPUT_BEFORE_CASE_LABEL call.
|
||||
* config/arc/arc.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove semicolon
|
||||
after macro body.
|
||||
* config/m68k/m68kelf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Same.
|
||||
* config/mips/mips.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Same.
|
||||
* config/v850/v850.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Same.
|
||||
|
||||
2017-11-05 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
PR other/82784
|
||||
|
|
|
@ -1405,7 +1405,7 @@ do { \
|
|||
(exact_log2 (GET_MODE_SIZE (GET_MODE (PATTERN (VEC_INSN)))))
|
||||
#undef ASM_OUTPUT_BEFORE_CASE_LABEL
|
||||
#define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE, PREFIX, NUM, TABLE) \
|
||||
ASM_OUTPUT_ALIGN ((FILE), ADDR_VEC_ALIGN (TABLE));
|
||||
ASM_OUTPUT_ALIGN ((FILE), ADDR_VEC_ALIGN (TABLE))
|
||||
|
||||
#define INSN_LENGTH_ALIGNMENT(INSN) \
|
||||
((JUMP_TABLE_DATA_P (INSN) \
|
||||
|
|
|
@ -135,15 +135,15 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
|||
|
||||
#ifndef ASM_OUTPUT_BEFORE_CASE_LABEL
|
||||
#define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE, PREFIX, NUM, TABLE) \
|
||||
ASM_OUTPUT_ALIGN ((FILE), 2);
|
||||
ASM_OUTPUT_ALIGN ((FILE), 2)
|
||||
#endif
|
||||
|
||||
#undef ASM_OUTPUT_CASE_LABEL
|
||||
#define ASM_OUTPUT_CASE_LABEL(FILE, PREFIX, NUM, JUMPTABLE) \
|
||||
do \
|
||||
{ \
|
||||
ASM_OUTPUT_BEFORE_CASE_LABEL (FILE, PREFIX, NUM, JUMPTABLE) \
|
||||
(*targetm.asm_out.internal_label) (FILE, PREFIX, NUM); \
|
||||
ASM_OUTPUT_BEFORE_CASE_LABEL (FILE, PREFIX, NUM, JUMPTABLE); \
|
||||
(*targetm.asm_out.internal_label) (FILE, PREFIX, NUM); \
|
||||
} \
|
||||
while (0)
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@ do { \
|
|||
table. */
|
||||
#undef ASM_OUTPUT_BEFORE_CASE_LABEL
|
||||
#define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE,PREFIX,NUM,TABLE) \
|
||||
fprintf ((FILE), "%s&%d\n", SWBEG_ASM_OP, XVECLEN (PATTERN (TABLE), 1));
|
||||
fprintf ((FILE), "%s&%d\n", SWBEG_ASM_OP, XVECLEN (PATTERN (TABLE), 1))
|
||||
/* end of stuff from m68kv4.h */
|
||||
|
||||
#undef ENDFILE_SPEC
|
||||
|
|
|
@ -2953,7 +2953,7 @@ do { \
|
|||
if (JUMP_TABLES_IN_TEXT_SECTION) \
|
||||
mips_set_text_contents_type (STREAM, "__jump_", NUM, FALSE); \
|
||||
} \
|
||||
while (0);
|
||||
while (0)
|
||||
|
||||
/* Reset text marking to code after an inline jump table. Like with
|
||||
the beginning of a jump table use the label number to keep symbols
|
||||
|
|
|
@ -743,7 +743,7 @@ typedef enum
|
|||
|
||||
#undef ASM_OUTPUT_BEFORE_CASE_LABEL
|
||||
#define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE,PREFIX,NUM,TABLE) \
|
||||
ASM_OUTPUT_ALIGN ((FILE), (TARGET_BIG_SWITCH ? 2 : 1));
|
||||
ASM_OUTPUT_ALIGN ((FILE), (TARGET_BIG_SWITCH ? 2 : 1))
|
||||
|
||||
#define WORD_REGISTER_OPERATIONS 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue