* [mips, committed] Remove semicolon after do {} while (0) in ASM_OUTPUT_CASE_END
@ 2017-11-08 9:32 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2017-11-08 9:32 UTC (permalink / raw)
To: GCC Patches; +Cc: Matthew Fortune
[-- Attachment #1: Type: text/plain, Size: 221 bytes --]
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
[-- Attachment #2: 0001-mips-Remove-semicolon-after-do-while-0-in-ASM_OUTPUT_CASE_END.patch --]
[-- Type: text/x-patch, Size: 726 bytes --]
[mips] Remove semicolon after do {} while (0) in ASM_OUTPUT_CASE_END
2017-11-07 Tom de Vries <tom@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-08 8:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-08 9:32 [mips, committed] Remove semicolon after do {} while (0) in ASM_OUTPUT_CASE_END Tom de Vries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).