diff options
author | Patrick Palka <ppalka@redhat.com> | 2022-06-10 16:09:58 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2022-06-10 16:09:58 -0400 |
commit | f9b5a8e58dfd0642bea932d449ad46da9e57396f (patch) | |
tree | 49669abea358ff708234ce2b3a6389a05c83d6d4 /gcc/d | |
parent | cb7fd1ea85feea7ef65328330fc2577a95e99400 (diff) | |
download | gcc-f9b5a8e58dfd0642bea932d449ad46da9e57396f.zip gcc-f9b5a8e58dfd0642bea932d449ad46da9e57396f.tar.gz gcc-f9b5a8e58dfd0642bea932d449ad46da9e57396f.tar.bz2 |
c++: optimize specialization of templated member functions
This applies one of the lookup_template_class optimizations from the
previous patch to instantiate_template as well.
gcc/cp/ChangeLog:
* pt.cc (instantiate_template): Don't substitute the context
of the most general template if that of the partially
instantiated template is already non-dependent.
Diffstat (limited to 'gcc/d')
0 files changed, 0 insertions, 0 deletions