Skip to content

Commit 762da9e

Browse files
author
vries
committed
[ft32, spu] Remove semicolon after do {} while (0) in REGISTER_TARGET_PRAGMAS
2017-11-19 Tom de Vries <[email protected]> * config/ft32/ft32.h (REGISTER_TARGET_PRAGMAS): Remove semicolon after "do {} while (0)". * config/spu/spu.h (REGISTER_TARGET_PRAGMAS): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254926 138bc75d-0d04-0410-961f-82ee72b054a4
1 parent 0fc1fb0 commit 762da9e

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

gcc/ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2017-11-19 Tom de Vries <[email protected]>
2+
3+
* config/ft32/ft32.h (REGISTER_TARGET_PRAGMAS): Remove semicolon after
4+
"do {} while (0)".
5+
* config/spu/spu.h (REGISTER_TARGET_PRAGMAS): Same.
6+
17
2017-11-19 Tom de Vries <[email protected]>
28

39
* config/mcore/mcore-elf.h (MCORE_EXPORT_NAME): Remove semicolon after

gcc/config/ft32/ft32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ do { \
471471

472472
#define REGISTER_TARGET_PRAGMAS() do { \
473473
c_register_addr_space ("__flash__", TARGET_NOPM ? 0 : ADDR_SPACE_PM); \
474-
} while (0);
474+
} while (0)
475475

476476
extern int ft32_is_mem_pm(rtx o);
477477

gcc/config/spu/spu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ enum reg_class {
213213
#define REGISTER_TARGET_PRAGMAS() do { \
214214
c_register_addr_space ("__ea", ADDR_SPACE_EA); \
215215
targetm.resolve_overloaded_builtin = spu_resolve_overloaded_builtin; \
216-
}while (0);
216+
}while (0)
217217

218218

219219
/* Frame Layout */

0 commit comments

Comments
 (0)