r234732 - in /trunk/gcc/cp: ChangeLog constexpr...
ppalka@gcc.gnu.org
ppalka@gcc.gnu.org
Tue Apr 5 01:20:00 GMT 2016
Author: ppalka
Date: Tue Apr 5 01:20:00 2016
New Revision: 234732
URL: https://gcc.gnu.org/viewcvs?rev=234732&root=gcc&view=rev
Log:
Remove class cache_map and use ggc hash_maps instead (PR c++/70452)
gcc/cp/ChangeLog:
PR c++/70452
* cp-tree.h (class cache_map): Remove.
* constexpr.c (cv_cache): Change type to
GTY((deletable)) hash_map<tree, tree> *.
(maybe_constant_value): Adjust following the change to cv_cache.
(clear_cv_cache): New static function.
(clear_cv_and_fold_caches): Use it.
* cp-gimplify.c (fold_cache): Change type to
GTY((deletable)) hash_map<tree, tree> *.
(clear_fold_cache): Adjust following the change to fold_cache.
(cp_fold): Likewise.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/cp/cp-tree.h
More information about the Gcc-cvs
mailing list