Reduce garbage from push_to_top_level.
authorJason Merrill <jason@redhat.com>
Thu, 21 Jun 2018 18:19:34 +0000 (14:19 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 21 Jun 2018 18:19:34 +0000 (14:19 -0400)
commit50200c65395c1db084043d3093886aaf4846c1b8
tree0d3cfddcf327fb55dbaa974e90f09fb6086f6d90
parent6ec04704dfb7425443de886e7f590286ce3b87a0
Reduce garbage from push_to_top_level.

* name-lookup.c (do_push_to_top_level): Don't allocate
current_lang_base.
(do_pop_from_top_level): Release current_lang_base.

From-SVN: r261860
gcc/cp/ChangeLog
gcc/cp/name-lookup.c