aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2017-11-19 10:40:00 +0000
committerTom de Vries <vries@gcc.gnu.org>2017-11-19 10:40:00 +0000
commit3412efc86e9f46baf410250c8212e712c62d8db9 (patch)
tree8e26dda4e193f8b4e5cc2c48649a999502621fba
parentb08c57ef9b41555950bc108dde7526a33b648985 (diff)
downloadgcc-3412efc86e9f46baf410250c8212e712c62d8db9.zip
gcc-3412efc86e9f46baf410250c8212e712c62d8db9.tar.gz
gcc-3412efc86e9f46baf410250c8212e712c62d8db9.tar.bz2
[phoenix] Remove semicolon after do {} while (0) in TARGET_OS_CPP_BUILTINS
2017-11-19 Tom de Vries <tom@codesourcery.com> * config/phoenix.h (TARGET_OS_CPP_BUILTINS): Remove semicolon after "do {} while (0)". From-SVN: r254928
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/phoenix.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0a608bf..175dbee 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2017-11-19 Tom de Vries <tom@codesourcery.com>
+ * config/phoenix.h (TARGET_OS_CPP_BUILTINS): Remove semicolon after
+ "do {} while (0)".
+
+2017-11-19 Tom de Vries <tom@codesourcery.com>
+
* config/visium/visium.h (ASM_OUTPUT_CASE_END): Remove semicolon after
macro body.
diff --git a/gcc/config/phoenix.h b/gcc/config/phoenix.h
index 64728a5..1799efd 100644
--- a/gcc/config/phoenix.h
+++ b/gcc/config/phoenix.h
@@ -24,7 +24,7 @@ along with GCC; see the file COPYING3. If not see
builtin_define_std ("unix"); \
builtin_assert ("system=phoenix"); \
builtin_assert ("system=unix"); \
- } while(0);
+ } while (0)
#define STD_LIB_SPEC "%{!shared:%{g*:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}"