aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2008-08-04 12:22:39 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2008-08-04 12:22:39 +0200
commitd882d0e15ec0aaa63e14ff74d5c5cea488ef84e0 (patch)
tree40d3fe1d405aeb89b12735491325e6653dd93552 /gcc
parent54838d1f88d0e162089a86d2055bd70aa49fff54 (diff)
downloadgcc-d882d0e15ec0aaa63e14ff74d5c5cea488ef84e0.zip
gcc-d882d0e15ec0aaa63e14ff74d5c5cea488ef84e0.tar.gz
gcc-d882d0e15ec0aaa63e14ff74d5c5cea488ef84e0.tar.bz2
sem_ch12.adb: Add comments
2008-08-04 Ed Schonberg <schonberg@adacore.com> * sem_ch12.adb: Add comments From-SVN: r138599
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/sem_ch12.adb5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ada/sem_ch12.adb b/gcc/ada/sem_ch12.adb
index 282104f..a4abddf 100644
--- a/gcc/ada/sem_ch12.adb
+++ b/gcc/ada/sem_ch12.adb
@@ -8716,8 +8716,9 @@ package body Sem_Ch12 is
begin
Gen_Body_Id := Corresponding_Body (Gen_Decl);
- -- Subprogram body may have been created already because of
- -- an inline pragma.
+ -- Subprogram body may have been created already because of an inline
+ -- pragma, or because of multiple elaborations of the enclosing package
+ -- when several instances of the subprogram appear in the main unit.
if Present (Corresponding_Body (Act_Decl)) then
return;