From 4397fc04e399e91fe53f0862fef41bb5b42a7c14 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Sun, 19 Nov 2017 12:21:07 +0000 Subject: [PATCH] [arc] Remove semicolon after do while (0) in FUNCTION_PROFILER 2017-11-19 Tom de Vries * config/arc/arc.h (FUNCTION_PROFILER): Remove semicolon after "do while (0)". From-SVN: r254929 --- gcc/ChangeLog | 5 +++++ gcc/config/arc/arc.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 175dbeeb399..1a6a3abb90f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-11-19 Tom de Vries + + * config/arc/arc.h (FUNCTION_PROFILER): Remove semicolon after + "do while (0)". + 2017-11-19 Tom de Vries * config/phoenix.h (TARGET_OS_CPP_BUILTINS): Remove semicolon after diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index ec28d619d7c..1511949cabd 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -822,7 +822,7 @@ extern int arc_initial_elimination_offset(int from, int to); fprintf (FILE, "\tbl\t__mcount@plt\n"); \ else \ fprintf (FILE, "\tbl\t__mcount\n"); \ - } while (0); + } while (0) #define NO_PROFILE_COUNTERS 1 -- 2.30.2