aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2021-03-05 10:28:58 -0500
committerPierre-Marie de Rodat <derodat@adacore.com>2021-06-17 10:32:10 -0400
commit79495262f3da3d4d9fda842eb90af365173bd954 (patch)
treed29ed45824006c23f7f1ef4113fa1c6f015bcf43 /gcc
parent419ad27a7701d1ced4484004ccd5b2f0d22a8149 (diff)
downloadgcc-79495262f3da3d4d9fda842eb90af365173bd954.zip
gcc-79495262f3da3d4d9fda842eb90af365173bd954.tar.gz
gcc-79495262f3da3d4d9fda842eb90af365173bd954.tar.bz2
[Ada] Minor comment cleanup
gcc/ada/ * atree.adb: Remove redundant comment with spec. * sem_warn.adb: Fix typo in comment.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/atree.adb4
-rw-r--r--gcc/ada/sem_warn.adb2
2 files changed, 1 insertions, 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 --