diff mbox series

[phoenix,committed] Remove semicolon after do {} while (0) in TARGET_OS_CPP_BUILTINS

Message ID ccc27522-0945-a9b6-8004-e5ed6a670472@mentor.com
State New
Headers show
Series [phoenix,committed] Remove semicolon after do {} while (0) in TARGET_OS_CPP_BUILTINS | expand

Commit Message

Tom de Vries Nov. 19, 2017, 11:13 a.m. UTC
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
diff mbox series

Patch

[phoenix] Remove semicolon after do {} while (0) in TARGET_OS_CPP_BUILTINS

2017-11-14  Tom de Vries  <tom@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}}"