[Ada] Incremental patch for restriction No_Dynamic_Accessibility_Checks

2021-10-04 Thread Pierre-Marie de Rodat via Gcc-patches
This patch corrects various issues discovered during testing of the No_Dynamic_Accessibility_Checks restriction and documents the feature in the GNAT RM. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * doc/gnat_rm/standard_and_implementation_defined_restrictions.rst:

[Ada] Incremental patch for restriction No_Dynamic_Accessibility_Checks

2021-07-09 Thread Pierre-Marie de Rodat
This patch corrects various issues discovered during testing of the No_Dynamic_Accessibility_Checks restriction leading to level miscalculation errors. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * sem_util.ads (Type_Access_Level): Add new optional parameter Assoc_