From d66d45909d13baafab5d0be977314d4c0ed1d395 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Mon, 27 Feb 2017 13:39:36 +0000 Subject: [PATCH] * decl.c (expand_static_init): Add missing } in a comment. From-SVN: r245758 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/decl.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b2459ce..03f9256 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2017-02-27 Marek Polacek + + * decl.c (expand_static_init): Add missing } in a comment. + 2017-02-27 Volker Reichelt * init.c: Include intl.h. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 3dd1f5c..828359f 100644 --- a/gcc/cp/decl.c +++ b/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 -- 2.7.4