[arc] Remove semicolon after do while (0) in FUNCTION_PROFILER
authorTom de Vries <tom@codesourcery.com>
Sun, 19 Nov 2017 12:21:07 +0000 (12:21 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sun, 19 Nov 2017 12:21:07 +0000 (12:21 +0000)
2017-11-19  Tom de Vries  <tom@codesourcery.com>

* config/arc/arc.h (FUNCTION_PROFILER): Remove semicolon after
"do while (0)".

From-SVN: r254929

gcc/ChangeLog
gcc/config/arc/arc.h

index 175dbeeb399ce3e48dd03a33830d9a898178edd4..1a6a3abb90f984f071e712445fb7a04346118dad 100644 (file)
@@ -1,3 +1,8 @@
+2017-11-19  Tom de Vries  <tom@codesourcery.com>
+
+       * config/arc/arc.h (FUNCTION_PROFILER): Remove semicolon after
+       "do while (0)".
+
 2017-11-19  Tom de Vries  <tom@codesourcery.com>
 
        * config/phoenix.h (TARGET_OS_CPP_BUILTINS): Remove semicolon after
index ec28d619d7c9acaaf438826e2a56e0f64b9de17b..1511949cabd5294ae767df4ae41a6ca33f27dad6 100644 (file)
@@ -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