aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.cc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2023-05-19 09:58:20 -0400
committerPatrick Palka <ppalka@redhat.com>2023-05-19 09:58:20 -0400
commitc5709fc87131bea0013cb67cf80bdea6e238c918 (patch)
treee791a9ac038cb6cba6de2e837a6cd25f5e81cb61 /gcc/fortran/resolve.cc
parentef8926d23a458560b8e9be1a76cf29ddcb87ec2a (diff)
downloadgcc-c5709fc87131bea0013cb67cf80bdea6e238c918.zip
gcc-c5709fc87131bea0013cb67cf80bdea6e238c918.tar.gz
gcc-c5709fc87131bea0013cb67cf80bdea6e238c918.tar.bz2
c++: simplify norm_cache manipulation
We can avoid performing two norm_cache lookups during normalization of a concept-id by allocating and inserting a norm_entry* before rather than after the fact, which is simpler and cheaper. gcc/cp/ChangeLog: * constraint.cc (normalize_concept_check): Avoid having to do two norm_cache lookups. Remove unnecessary early exit for an ill-formed concept definition.
Diffstat (limited to 'gcc/fortran/resolve.cc')
0 files changed, 0 insertions, 0 deletions