diff options
author | Patrick Palka <ppalka@redhat.com> | 2023-04-20 15:16:59 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2023-04-20 15:16:59 -0400 |
commit | afc7e20e793ce4071a7fe593ccebb2e6b2b070fa (patch) | |
tree | 432fccaeea5eba1244395651403b43769b724448 /maintainer-scripts | |
parent | 76fa66ea397cb255ab1d68a90ff6b878236e9620 (diff) | |
download | gcc-afc7e20e793ce4071a7fe593ccebb2e6b2b070fa.tar.gz |
c++: simplify TEMPLATE_TYPE_PARM level lowering
1. Don't bother recursing when level lowering a cv-qualified type
template parameter.
2. Get rid of the recursive loop breaker when level lowering a
constrained auto, and enable the TEMPLATE_PARM_DESCENDANTS cache in
this case too. This should be safe to do so now that we no longer
substitute constraints on an auto.
gcc/cp/ChangeLog:
* pt.cc (tsubst) <case TEMPLATE_TYPE_PARM>: Don't recurse when
level lowering a cv-qualified type template parameter. Remove
recursive loop breaker in the level lowering case for constrained
autos. Use the TEMPLATE_PARM_DESCENDANTS cache in this case as
well.
Diffstat (limited to 'maintainer-scripts')
0 files changed, 0 insertions, 0 deletions