aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/adabkend.adb
diff options
context:
space:
mode:
authorPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2017-09-25 09:34:10 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2017-09-25 09:34:10 +0000
commitd449ed7517e34dc3b24c60f2d374a94f46b220d5 (patch)
tree71a9345678d16e2df3d29e1ea1f07d3faef73557 /gcc/ada/adabkend.adb
parentf71b4cd44483310677019f5d47cabbdeedfcfc75 (diff)
downloadgcc-d449ed7517e34dc3b24c60f2d374a94f46b220d5.zip
gcc-d449ed7517e34dc3b24c60f2d374a94f46b220d5.tar.gz
gcc-d449ed7517e34dc3b24c60f2d374a94f46b220d5.tar.bz2
[multiple changes]
2017-09-25 Piotr Trojanek <trojanek@adacore.com> * adabkend.adb (Call_Back_End): Fix wording of "front-end" and "back-end" in comments. 2017-09-25 Ed Schonberg <schonberg@adacore.com> * exp_ch6.adb (Expand_Call_Helper): The extra accessibility check in a call that appears in a classwide precondition and that mentions an access formal of the subprogram, must use the accessibility level of the actual in the call. This is one case in which a reference to a formal parameter appears outside of the body of the subprogram. From-SVN: r253141
Diffstat (limited to 'gcc/ada/adabkend.adb')
-rw-r--r--gcc/ada/adabkend.adb12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ada/adabkend.adb b/gcc/ada/adabkend.adb
index 3c84a48..2ab4b19 100644
--- a/gcc/ada/adabkend.adb
+++ b/gcc/ada/adabkend.adb
@@ -57,10 +57,10 @@ package body Adabkend is
Write_Eol;
end if;
- -- Frontend leaves the Current_Error_Node at a location that is
- -- meaningless and confusing when emitting bugboxes from the backed. By
- -- resetting it here we default to "No source file position information
- -- available" message on backend crashes.
+ -- The front end leaves the Current_Error_Node at a location that is
+ -- meaningless and confusing when emitting bug boxes from the back end.
+ -- By resetting it here we default to "No source file position
+ -- information available" message on back end crashes.
Current_Error_Node := Empty;
@@ -91,7 +91,7 @@ package body Adabkend is
--
-- If the switch is not valid, control will not return. The switches
-- must still be scanned to skip the "-o" arguments, or internal GCC
- -- switches, which may be safely ignored by other back-ends.
+ -- switches, which may be safely ignored by other back ends.
----------------------------
-- Scan_Back_End_Switches --
@@ -251,7 +251,7 @@ package body Adabkend is
else
Add_Src_Search_Dir (Argv);
- -- Add directory to lib search so that back-end can take as
+ -- Add directory to lib search so that back end can take as
-- input ALI files if needed. Otherwise this won't have any
-- impact on the compiler.