Skip to content

Commit 0fc1fb0

Browse files
author
vries
committed
[mcore] Remove semicolon after do {} while (0) in MCORE_EXPORT_NAME
2017-11-19 Tom de Vries <[email protected]> * config/mcore/mcore-elf.h (MCORE_EXPORT_NAME): Remove semicolon after "do {} while (0)". * config/mcore/mcore.h (ASM_OUTPUT_ALIGNED_COMMON): After missing semicolon after MCORE_EXPORT_NAME call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254925 138bc75d-0d04-0410-961f-82ee72b054a4
1 parent 417e90c commit 0fc1fb0

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

gcc/ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2017-11-19 Tom de Vries <[email protected]>
2+
3+
* config/mcore/mcore-elf.h (MCORE_EXPORT_NAME): Remove semicolon after
4+
"do {} while (0)".
5+
* config/mcore/mcore.h (ASM_OUTPUT_ALIGNED_COMMON): After missing
6+
semicolon after MCORE_EXPORT_NAME call.
7+
18
2017-11-19 Tom de Vries <[email protected]>
29

310
PR target/82961

gcc/config/mcore/mcore-elf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ along with GCC; see the file COPYING3. If not see
3535
(* targetm.strip_name_encoding) (NAME)); \
3636
in_section = NULL; \
3737
} \
38-
while (0);
38+
while (0)
3939

4040
/* Write the extra assembler code needed to declare a function properly.
4141
Some svr4 assemblers need to also have something extra said about the

gcc/config/mcore/mcore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ extern long mcore_current_compilation_timestamp;
684684
do \
685685
{ \
686686
if (mcore_dllexport_name_p (NAME)) \
687-
MCORE_EXPORT_NAME (FILE, NAME) \
687+
MCORE_EXPORT_NAME (FILE, NAME); \
688688
if (! mcore_dllimport_name_p (NAME)) \
689689
{ \
690690
fputs ("\t.comm\t", FILE); \

0 commit comments

Comments
 (0)