You might think it doesn't matter, but it causes vim's "jump to matching brace" feature to malfunction, leaving me a bit miffed.
Applying to trunk. 2017-02-27 Marek Polacek <pola...@redhat.com> * decl.c (expand_static_init): Add missing } in a comment. diff --git gcc/cp/decl.c gcc/cp/decl.c index 3dd1f5c..828359f 100644 --- gcc/cp/decl.c +++ gcc/cp/decl.c @@ -8052,6 +8052,7 @@ expand_static_init (tree decl, tree init) } catch { if (!flag) __cxa_guard_abort (&guard); } + } } Note that the `flag' variable is only set to 1 *after* the Marek