aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch6.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2011-11-21 12:26:14 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2011-11-21 12:26:14 +0100
commit301680433d60925930ae1699865ab4a7fd3eb6ab (patch)
treedf49f17be25b158bdbad3f2795e042d01355a11a /gcc/ada/exp_ch6.adb
parentbdf69d333e4c6d080e8be3ad9d71fb1895e85d03 (diff)
downloadgcc-301680433d60925930ae1699865ab4a7fd3eb6ab.zip
gcc-301680433d60925930ae1699865ab4a7fd3eb6ab.tar.gz
gcc-301680433d60925930ae1699865ab4a7fd3eb6ab.tar.bz2
[multiple changes]
2011-11-21 Robert Dewar <dewar@adacore.com> * exp_ch6.adb: Minor reformatting. 2011-11-21 Ed Schonberg <schonberg@adacore.com> * sem_ch12.adb (Check_Formal_Package_Instance): If a formal subprogram of the formal package is covered by an others association with a box initialization, no check is needed against the actual in the instantiation of the formal package. 2011-11-21 Robert Dewar <dewar@adacore.com> * sem_elab.adb (Check_Internal_Call_Continue): Suppress junk elab warning from within precondition/postcondition etc. From-SVN: r181561
Diffstat (limited to 'gcc/ada/exp_ch6.adb')
-rw-r--r--gcc/ada/exp_ch6.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/exp_ch6.adb b/gcc/ada/exp_ch6.adb
index b68fb8a..6673328 100644
--- a/gcc/ada/exp_ch6.adb
+++ b/gcc/ada/exp_ch6.adb
@@ -8532,8 +8532,8 @@ package body Exp_Ch6 is
return False;
-- Handle a corner case, a cross-dialect subp renaming. For example,
- -- an Ada 2012 renaming of an Ada 05 subprogram. This can occur when a
- -- non-Ada 2012 unit references predefined run-time units.
+ -- an Ada 2012 renaming of an Ada 2005 subprogram. This can occur when
+ -- an Ada 2005 (or earlier) unit references predefined run-time units.
elsif Present (Alias (Func_Id)) then