diff options
author | Marek Polacek <polacek@redhat.com> | 2017-02-27 13:39:36 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2017-02-27 13:39:36 +0000 |
commit | d66d45909d13baafab5d0be977314d4c0ed1d395 (patch) | |
tree | 78ead66d43f5291d840e93f2c27dffa675ff3c56 | |
parent | 24f12823837aa38026253675c822f219a3a34c13 (diff) | |
download | gcc-d66d45909d13baafab5d0be977314d4c0ed1d395.zip gcc-d66d45909d13baafab5d0be977314d4c0ed1d395.tar.gz gcc-d66d45909d13baafab5d0be977314d4c0ed1d395.tar.bz2 |
* decl.c (expand_static_init): Add missing } in a comment.
From-SVN: r245758
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b2459ce..03f92565 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2017-02-27 Marek Polacek <polacek@redhat.com> + + * decl.c (expand_static_init): Add missing } in a comment. + 2017-02-27 Volker Reichelt <v.reichelt@netcologne.de> * 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 |