aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2019-07-31 14:49:28 -0400
committerJason Merrill <jason@gcc.gnu.org>2019-07-31 14:49:28 -0400
commitfc79fc4966060222486458e6b310203e4e8527a1 (patch)
tree79846d033ee7f9e00704b5ddb53140725e54f3b0 /gcc/cp/lambda.c
parentb6de3028951bbc9982f7d5810981d5e911853cc0 (diff)
downloadgcc-fc79fc4966060222486458e6b310203e4e8527a1.zip
gcc-fc79fc4966060222486458e6b310203e4e8527a1.tar.gz
gcc-fc79fc4966060222486458e6b310203e4e8527a1.tar.bz2
Fix copy_node of TEMPLATE_INFO.
build_clone uses copy_node to duplicate the TEMPLATE_INFO for a clone, but this clears TREE_CHAIN, which was TI_ARGS in a TEMPLATE_INFO. * cp-tree.h (struct tree_template_info): Use tree_base instead of tree_common. Add tmpl and args fields. (TI_TEMPLATE, TI_ARGS): Adjust. From-SVN: r273943
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions