Hi,
this patch removes a semicolon after "do {} while (0)" in
TARGET_OS_CPP_BUILTINS. This allows the macro to be used in
if-then-elses without curly braces.
Build arm-unknown-phoenix.
Committed as obvious.
Thanks,
- Tom
[phoenix] Remove semicolon after do {} while (0) in TARGET_OS_CPP_BUILTINS
2017-11-14 Tom de Vries <t...@codesourcery.com>
* config/phoenix.h (TARGET_OS_CPP_BUILTINS): Remove semicolon after
"do {} while (0)".
---
gcc/config/phoenix.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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}}"