From: Tom de Vries Date: Sun, 19 Nov 2017 10:39:38 +0000 (+0000) Subject: [ft32, spu] Remove semicolon after do {} while (0) in REGISTER_TARGET_PRAGMAS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8575ee93f44206a6db262c02fbb6bcc02770562;p=gcc.git [ft32, spu] Remove semicolon after do {} while (0) in REGISTER_TARGET_PRAGMAS 2017-11-19 Tom de Vries * config/ft32/ft32.h (REGISTER_TARGET_PRAGMAS): Remove semicolon after "do {} while (0)". * config/spu/spu.h (REGISTER_TARGET_PRAGMAS): Same. From-SVN: r254926 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4ad89a208af..b3de37a0972 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-11-19 Tom de Vries + + * config/ft32/ft32.h (REGISTER_TARGET_PRAGMAS): Remove semicolon after + "do {} while (0)". + * config/spu/spu.h (REGISTER_TARGET_PRAGMAS): Same. + 2017-11-19 Tom de Vries * config/mcore/mcore-elf.h (MCORE_EXPORT_NAME): Remove semicolon after diff --git a/gcc/config/ft32/ft32.h b/gcc/config/ft32/ft32.h index 8bb0d399a0c..b276f25588f 100644 --- a/gcc/config/ft32/ft32.h +++ b/gcc/config/ft32/ft32.h @@ -471,7 +471,7 @@ do { \ #define REGISTER_TARGET_PRAGMAS() do { \ c_register_addr_space ("__flash__", TARGET_NOPM ? 0 : ADDR_SPACE_PM); \ -} while (0); +} while (0) extern int ft32_is_mem_pm(rtx o); diff --git a/gcc/config/spu/spu.h b/gcc/config/spu/spu.h index cf99b88b6ac..efb046479cb 100644 --- a/gcc/config/spu/spu.h +++ b/gcc/config/spu/spu.h @@ -213,7 +213,7 @@ enum reg_class { #define REGISTER_TARGET_PRAGMAS() do { \ c_register_addr_space ("__ea", ADDR_SPACE_EA); \ targetm.resolve_overloaded_builtin = spu_resolve_overloaded_builtin; \ -}while (0); +}while (0) /* Frame Layout */