aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2018-04-19 06:39:06 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2018-04-19 06:39:06 +0000
commit4f3fc30103ca6d8d5cb6b1a01c4db33d5ab813b4 (patch)
tree0e6c2fc3a326f2dccd3a4cfbe85acb748806419d
parentd62f70f0e099a9ebc9f064ef7dd60a3827219b8c (diff)
downloadgcc-4f3fc30103ca6d8d5cb6b1a01c4db33d5ab813b4.zip
gcc-4f3fc30103ca6d8d5cb6b1a01c4db33d5ab813b4.tar.gz
gcc-4f3fc30103ca6d8d5cb6b1a01c4db33d5ab813b4.tar.bz2
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
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/cp-tree.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 7cd714b..4475b22 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2018-04-19 Alexandre Oliva <aoliva@redhat.com>
+
+ PR c++/80290
+ * cp-tree.h (tinst_level::free): Fix whitespace.
+
2018-04-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84630
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 7031c79..8c5c84e 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 (); }