diff options
author | Marek Polacek <polacek@redhat.com> | 2019-10-24 17:22:27 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-10-24 17:22:27 +0000 |
commit | 1c95aee0a3e154a9583a7f2cfe987ef84344157c (patch) | |
tree | 5df98723b8aff3c1c7856d5e838b4fa6e0006e9d /gcc | |
parent | bdf1426df754be0e2fbf4a1b0f8e09e9bcb45c26 (diff) | |
download | gcc-1c95aee0a3e154a9583a7f2cfe987ef84344157c.zip gcc-1c95aee0a3e154a9583a7f2cfe987ef84344157c.tar.gz gcc-1c95aee0a3e154a9583a7f2cfe987ef84344157c.tar.bz2 |
Add missing space to diagnostic in reshape_init_r.
* decl.c (reshape_init_r): Add missing space.
From-SVN: r277419
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index d28eea3..3590418 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2019-10-24 Marek Polacek <polacek@redhat.com> + + * decl.c (reshape_init_r): Add missing space. + 2019-10-24 Nathan Sidwell <nathan@acm.org> * 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 6c90b1d..827534c 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; } |