Support copying local_specializations

Programming / Compilers / GCC - jason [138bc75d-0d04-0410-961f-82ee72b054a4] - 29 August 2017 15:40 EDT

- cp-tree.h (enum lss_policy): New. (local_specialization_stack): Add policy parameter to default ctor.
- pt.c (local_specialization_stack): Copy local_specializations if lss_copy.

d90b176 Support copying local_specializations.
gcc/cp/ChangeLog | 6 ++++++
gcc/cp/cp-tree.h | 3 ++-
gcc/cp/pt.c | 7 +++++--
3 files changed, 13 insertions(+), 3 deletions(-)

Upstream: gcc.gnu.org


  • Share