Fix dump message issue
authorXiong Hu Luo <luoxhu@linux.ibm.com>
Mon, 14 Oct 2019 02:04:04 +0000 (02:04 +0000)
committerXiong Hu Luo <luoxhu@gcc.gnu.org>
Mon, 14 Oct 2019 02:04:04 +0000 (02:04 +0000)
'}' is missed at the end.

gcc/ChangeLog:

2019-10-14  Xiong Hu Luo  <luoxhu@linux.ibm.com>

* tree-sra.c (dump_access): Add missing braces.

From-SVN: r276948

gcc/ChangeLog
gcc/tree-sra.c

index 61c8a0f14826ce05b651afdfcc5e52c09c31708d..053ef6c84cbea58eef649764bba1469365d0dd33 100644 (file)
@@ -1,3 +1,7 @@
+2019-10-14  Xiong Hu Luo  <luoxhu@linux.ibm.com>
+
+       * tree-sra.c (dump_access): Add missing braces.
+
 2019-10-13  Iain Sandoe  <iain@sandoe.co.uk>
 
        * config/darwin.c (machopic_indirection_name): Rework the
index c462ca46e7d50b32663adfa8cdf90696bf0eea33..3f104238d930177fb1be95c0b0f17ac920de9b08 100644 (file)
@@ -392,7 +392,7 @@ dump_access (FILE *f, struct access *access, bool grp)
             "grp_hint = %d, grp_covered = %d, "
             "grp_unscalarizable_region = %d, grp_unscalarized_data = %d, "
             "grp_same_access_path = %d, grp_partial_lhs = %d, "
-            "grp_to_be_replaced = %d, grp_to_be_debug_replaced = %d\n",
+            "grp_to_be_replaced = %d, grp_to_be_debug_replaced = %d}\n",
             access->grp_read, access->grp_write, access->grp_assignment_read,
             access->grp_assignment_write, access->grp_scalar_read,
             access->grp_scalar_write, access->grp_total_scalarization,
@@ -402,7 +402,7 @@ dump_access (FILE *f, struct access *access, bool grp)
             access->grp_to_be_replaced, access->grp_to_be_debug_replaced);
   else
     fprintf (f, ", write = %d, grp_total_scalarization = %d, "
-            "grp_partial_lhs = %d\n",
+            "grp_partial_lhs = %d}\n",
             access->write, access->grp_total_scalarization,
             access->grp_partial_lhs);
 }