Hi,
this patch removes a semicolon after "do {} while (0)" in
ASM_OUTPUT_CASE_END. This allows the macro to be used in if-then-elses
without curly braces.
Build for mips target.
Committed as obvious.
Thanks,
- Tom
[mips] Remove semicolon after do {} while (0) in ASM_OUTPUT_CASE_END
2017-11-07 Tom de Vries <t...@codesourcery.com>
* config/mips/mips.h (ASM_OUTPUT_CASE_END): Remove semicolon after
"do {} while (0)".
---
gcc/config/mips/mips.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index d7f86b6..c1fcb86 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -2963,7 +2963,7 @@ do { \
do \
if (JUMP_TABLES_IN_TEXT_SECTION) \
mips_set_text_contents_type (STREAM, "__jend_", NUM, TRUE); \
- while (0);
+ while (0)
/* This is how to output an assembler line
that says to advance the location counter