From: Marek Polacek Date: Thu, 24 Oct 2019 17:22:27 +0000 (+0000) Subject: Add missing space to diagnostic in reshape_init_r. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c95aee0a3e154a9583a7f2cfe987ef84344157c;p=gcc.git Add missing space to diagnostic in reshape_init_r. * decl.c (reshape_init_r): Add missing space. From-SVN: r277419 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index d28eea373d4..35904186fd1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2019-10-24 Marek Polacek + + * decl.c (reshape_init_r): Add missing space. + 2019-10-24 Nathan Sidwell * pt.c (reduce_template_parm_level): Attach the new TPI to the new diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 6c90b1d030a..827534c900c 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -6239,7 +6239,7 @@ reshape_init_r (tree type, reshape_iter *d, bool first_initializer_p, (CONSTRUCTOR_ELT (stripped_init,0)->value)))) { if (complain & tf_error) - error ("too many braces around scalar initializer" + error ("too many braces around scalar initializer " "for type %qT", type); init = error_mark_node; }