ada: Small improvement to Null_Status function
commit5ee80f712883981fde26976bb4f9e157e105944c
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 26 Oct 2023 08:43:38 +0000 (26 10:43 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 21 Nov 2023 09:57:41 +0000 (21 10:57 +0100)
tree60398700a9ac367ba7e823ba31997a0dc822eb50
parent6f69104c9e7cc455cc83139b063c08124e465f64
ada: Small improvement to Null_Status function

The function is used to optimize away access checks.

gcc/ada/

* sem_util.adb (Null_Status): Deal with unchecked type conversions.
gcc/ada/sem_util.adb