diff options
author | Bob Duff <duff@adacore.com> | 2022-04-07 12:58:56 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-18 08:41:07 +0000 |
commit | 8502433d82079d2b01bbe0e324121dc1f658311b (patch) | |
tree | 6d8e0e24a06cc179c9907d0783caa925a28c0f33 /libtool-ldflags | |
parent | db67182120993abaff6bbaa1a64f1ba931a8380b (diff) | |
download | gcc-8502433d82079d2b01bbe0e324121dc1f658311b.zip gcc-8502433d82079d2b01bbe0e324121dc1f658311b.tar.gz gcc-8502433d82079d2b01bbe0e324121dc1f658311b.tar.bz2 |
[Ada] Disable Vet calls when container checks are disabled
Calls to various Vet functions are used throughout the containers
packages to check internal consistency. This patch improves efficiency
by disabling these calls when Container_Checks are suppressed.
gcc/ada/
* libgnat/a-crbtgo.ads, libgnat/a-rbtgbo.ads,
libgnat/a-cbdlli.adb, libgnat/a-cbhama.adb,
libgnat/a-cbhase.adb, libgnat/a-cdlili.adb,
libgnat/a-cfdlli.adb, libgnat/a-cfhama.adb,
libgnat/a-cfhase.adb, libgnat/a-cidlli.adb,
libgnat/a-cihama.adb, libgnat/a-cihase.adb,
libgnat/a-cohama.adb, libgnat/a-cohase.adb,
libgnat/a-crbtgo.adb, libgnat/a-crdlli.adb, libgnat/a-rbtgbo.adb
(Vet): Make the Vet functions do nothing when
Container_Checks'Enabled is False, and inline them, so the calls
disappear when optimizing.
Diffstat (limited to 'libtool-ldflags')
0 files changed, 0 insertions, 0 deletions