]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Cleanups related to expansion of dispatching primitives
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 24 Nov 2021 21:06:01 +0000 (22:06 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 2 Dec 2021 16:26:27 +0000 (16:26 +0000)
commitec9c3bd5d2d6d91a9967bf153ebf1411e6bb10c0
tree6248b537baef50d57923e38d23f7354bae46ae1c
parentb045f2f2205495b61d63133b16e56c35acbf8090
[Ada] Cleanups related to expansion of dispatching primitives

gcc/ada/

* doc/gnat_rm/standard_and_implementation_defined_restrictions.rst
(No_Dispatching_Calls): Fix whitespace in example code.
* gnat_rm.texi: Regenerate.
* exp_ch13.adb (Expand_N_Freeze_Entity): Replace low-level
membership test with a high-level wrapper.
* exp_ch3.adb (Expand_Freeze_Record_Type): Remove unnecessary
initialization of list of wrapper declarations and unnecessary
guard for list of their bodies (if no bodies are created then
Append_Freeze_Actions is a no-op).
gcc/ada/doc/gnat_rm/standard_and_implementation_defined_restrictions.rst
gcc/ada/exp_ch13.adb
gcc/ada/exp_ch3.adb
gcc/ada/gnat_rm.texi