From 4002a72aff546e20b6efc75147bebdf893891ea6 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Fri, 15 Dec 2023 19:07:44 +0100 Subject: [PATCH] ada: Fix non-idiomatic construct gcc/ada/ * exp_ch3.adb (Expand_Freeze_Class_Wide_Type): Use No instead of not Present. --- gcc/ada/exp_ch3.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/exp_ch3.adb b/gcc/ada/exp_ch3.adb index 7a137dda3f7..09551b22154 100644 --- a/gcc/ada/exp_ch3.adb +++ b/gcc/ada/exp_ch3.adb @@ -5021,7 +5021,7 @@ package body Exp_Ch3 is -- Create the body of TSS primitive Finalize_Address. This automatically -- sets the TSS entry for the class-wide type. - if not Present (Finalize_Address (Typ)) then + if No (Finalize_Address (Typ)) then Make_Finalize_Address_Body (Typ); end if; end Expand_Freeze_Class_Wide_Type; -- 2.47.2