aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-09-23 07:01:10 -0700
committerNathan Sidwell <nathan@acm.org>2020-09-23 07:18:54 -0700
commit13f7c5d504b5fe6c233f2e68acd10bd4fc9007ac (patch)
tree66e0e66297f31fe72e8ecf90fb8a81ae5c6c85d2 /gcc/builtins.c
parentc48ffe21f8f3478cf08f9442e3f973df358caf2a (diff)
downloadgcc-13f7c5d504b5fe6c233f2e68acd10bd4fc9007ac.zip
gcc-13f7c5d504b5fe6c233f2e68acd10bd4fc9007ac.tar.gz
gcc-13f7c5d504b5fe6c233f2e68acd10bd4fc9007ac.tar.bz2
c++: dependent local extern decl ICE [PR97171]
I'd missed the piece of substutution for the uses of a local extern decl. Just grab the local specialization. We need to do this regardless of dependentness because we always cloned the local extern. PR c++/97171 gcc/cp/ * pt.c (tsubst_copy) [FUNCTION_DECL,VAR_DECL]: Retrieve local specialization for DECL_LOCAL_P decls. gcc/testsuite/ * g++.dg/template/local10.C: New.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions