aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2020-06-16 08:51:34 -0400
committerPatrick Palka <ppalka@redhat.com>2020-06-16 08:51:34 -0400
commit28462a4496152c76babdb09806762880633191f5 (patch)
tree290c70325c865fc3ec293cce2b280df32d668aca /gcc/c
parent668ef28fbb44c1e51d9c5a35b421903c98d87b03 (diff)
downloadgcc-28462a4496152c76babdb09806762880633191f5.zip
gcc-28462a4496152c76babdb09806762880633191f5.tar.gz
gcc-28462a4496152c76babdb09806762880633191f5.tar.bz2
c++: TI_DEFERRED_ACCESS_CHECKS and dependent decls
This adds an assert to enforce_access to verify that we don't defer access checks of dependent decls -- we should instead be rechecking the access of such a decl after tsubst'ing into the user of the decl. gcc/cp/ChangeLog: * pt.c (perform_instantiation_time_access_checks): No need to tsubst into decl. * semantics.c (enforce_access): Verify that decl is not dependent.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions