From: Xiong Hu Luo Date: Mon, 14 Oct 2019 02:04:04 +0000 (+0000) Subject: Fix dump message issue X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=103197a183446a81d97a6ef975cc7095a64c8c4b;p=gcc.git Fix dump message issue '}' is missed at the end. gcc/ChangeLog: 2019-10-14 Xiong Hu Luo * tree-sra.c (dump_access): Add missing braces. From-SVN: r276948 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 61c8a0f1482..053ef6c84cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-10-14 Xiong Hu Luo + + * tree-sra.c (dump_access): Add missing braces. + 2019-10-13 Iain Sandoe * config/darwin.c (machopic_indirection_name): Rework the diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index c462ca46e7d..3f104238d93 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -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); }