From 79495262f3da3d4d9fda842eb90af365173bd954 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Fri, 5 Mar 2021 10:28:58 -0500 Subject: [PATCH] [Ada] Minor comment cleanup gcc/ada/ * atree.adb: Remove redundant comment with spec. * sem_warn.adb: Fix typo in comment. --- gcc/ada/atree.adb | 4 ---- gcc/ada/sem_warn.adb | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/gcc/ada/atree.adb b/gcc/ada/atree.adb index c5e43f2..be03c97 100644 --- a/gcc/ada/atree.adb +++ b/gcc/ada/atree.adb @@ -23,10 +23,6 @@ -- -- ------------------------------------------------------------------------------ --- WARNING: There is a C version of this package. Any changes to this source --- file must be properly reflected in the file atree.h which is a C header --- file containing equivalent definitions for use by gigi. - -- Assertions in this package are too slow, and are mostly needed when working -- on this package itself, or on gen_il, so we disable them. -- To debug low-level bugs in this area, comment out the following pragmas, diff --git a/gcc/ada/sem_warn.adb b/gcc/ada/sem_warn.adb index 5a6a402..dbdf96a 100644 --- a/gcc/ada/sem_warn.adb +++ b/gcc/ada/sem_warn.adb @@ -3030,7 +3030,7 @@ package body Sem_Warn is -- if we have seen the address of the subprogram being taken, or if the -- subprogram is used as a generic actual (in the latter cases the -- context may force use of IN OUT, even if the parameter is not - -- modifies for this particular case. + -- modified for this particular case. ----------------------- -- No_Warn_On_In_Out -- -- 2.7.4