diff options
author | Justin Squirek <squirek@adacore.com> | 2021-06-29 18:38:09 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-10-04 08:45:13 +0000 |
commit | 5e0367dd64f4946d76477a8545d7abf3c0802806 (patch) | |
tree | 0be6ee1aab23b667ba995e983485136ecb48f117 /gcc/expr.c | |
parent | 29ca68773b8bbb89b6e0cbb21d55d0ceeec58f9c (diff) | |
download | gcc-5e0367dd64f4946d76477a8545d7abf3c0802806.zip gcc-5e0367dd64f4946d76477a8545d7abf3c0802806.tar.gz gcc-5e0367dd64f4946d76477a8545d7abf3c0802806.tar.bz2 |
[Ada] Incremental patch for restriction No_Dynamic_Accessibility_Checks
gcc/ada/
* doc/gnat_rm/standard_and_implementation_defined_restrictions.rst:
Add new entry for No_Dynamic_Accessibility_Checks documenting
behavior.
* gnat_rm.texi: Regenerate.
* exp_ch4.adb (Expand_N_In): Perform special expansion for
membership tests when No_Dynamic_Accessibility_Checks is active.
* sem_attr.adb (Resolve_Attribute): Skip static accessibility
check on actuals for anonymous access type formal parameters,
and add constants for readability.
* sem_util.adb (Function_Call_Or_Allocator_Level): Use the
innermost master for determining the level for function calls
within the alternative accessibility model.
(Type_Access_Level): Properly get the level for anonymous access
function result types.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions