From 4f3fc30103ca6d8d5cb6b1a01c4db33d5ab813b4 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 19 Apr 2018 06:39:06 +0000 Subject: [PATCH] re PR c++/80290 (g++ uses unreasonable amount of memory compiling nested string maps) PR c++/80290 * cp-tree.h (tinst_level::free): Fix whitespace. From-SVN: r259486 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/cp-tree.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7cd714b9e3a..4475b228c2e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2018-04-19 Alexandre Oliva + + PR c++/80290 + * cp-tree.h (tinst_level::free): Fix whitespace. + 2018-04-18 Paolo Carlini PR c++/84630 diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 7031c79b35d..8c5c84e22b2 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -5904,7 +5904,7 @@ struct GTY((chain_next ("%h.next"))) tinst_level { public: /* Release storage for OBJ and node, if it's a TREE_LIST. */ - static void free(tinst_level *obj); + static void free (tinst_level *obj); /* Return TRUE iff the original node is a list, split or not. */ bool list_p () const { return !not_list_p (); } -- 2.30.2