aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2017-11-05 09:57:43 +0000
committerTom de Vries <vries@gcc.gnu.org>2017-11-05 09:57:43 +0000
commitf9c1b67a39201d6285dceb3aed85943bd258fe33 (patch)
treea073511b4f0fd51368faff414f520dad86c3b911 /gcc
parent51c20aa35aeb59c234d511cb9f53f0f3357906f4 (diff)
downloadgcc-f9c1b67a39201d6285dceb3aed85943bd258fe33.zip
gcc-f9c1b67a39201d6285dceb3aed85943bd258fe33.tar.gz
gcc-f9c1b67a39201d6285dceb3aed85943bd258fe33.tar.bz2
[graphite] Remove semicolon after do {} while (0) in DEBUG_PRINT
2017-11-05 Tom de Vries <tom@codesourcery.com> PR other/82784 * graphite-scop-detection.c (DEBUG_PRINT): Remove semicolon after "do {} while (0)". From-SVN: r254421
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/graphite-scop-detection.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5bc8351..6930b6c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2017-11-05 Tom de Vries <tom@codesourcery.com>
+
+ PR other/82784
+ * graphite-scop-detection.c (DEBUG_PRINT): Remove semicolon after
+ "do {} while (0)".
+
2017-11-04 Michael Clark <michaeljclark@mac.com>
* config/riscv/riscv.c (riscv_print_operand): Add a 'i' format.
diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c
index c236556..dd273a4 100644
--- a/gcc/graphite-scop-detection.c
+++ b/gcc/graphite-scop-detection.c
@@ -81,7 +81,7 @@ public:
#define DEBUG_PRINT(args) do \
{ \
if (dump_file && (dump_flags & TDF_DETAILS)) { args; } \
- } while (0);
+ } while (0)
/* Pretty print to FILE all the SCoPs in DOT format and mark them with
different colors. If there are not enough colors, paint the