sem_ch10.adb: Change name Is_Package to Is_Package_Or_Generic_Package Do not give...
authorRobert Dewar <dewar@adacore.com>
Tue, 15 Nov 2005 14:02:01 +0000 (15:02 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Nov 2005 14:02:01 +0000 (15:02 +0100)
commit81d435f35b1ff34978cb764672faf6733ced9607
treeecdf96df91faaa260d5665921aedaa4b1951dc2f
parentd8387153496ed7275d92f11b0bb6f09ea22e14dd
sem_ch10.adb: Change name Is_Package to Is_Package_Or_Generic_Package Do not give obsolescent...

2005-11-14  Robert Dewar  <dewar@adacore.com>
    Ed Schonberg  <schonberg@adacore.com>

* sem_ch10.adb: Change name Is_Package to Is_Package_Or_Generic_Package
Do not give obsolescent warning on with of subprogram (since we
diagnose calls)
(Analyze_With_Clause): Add test for obsolescent package
(Install_Context_Clauses): If the unit is the body of a child unit, do
not install twice the private declarations of the parents, to prevent
circular lists of Use_Clauses in a parent.
(Implicit_With_On_Parent): Do add duplicate with_clause on parent when
compiling body of child unit.
Use new class N_Subprogram_Instantiation
(Expand_With_Clause): If this is a private with_clause for a child unit,
appearing in the context of a package declaration, then the implicit
with_clauses generated for parent units are private as well.
(License_Check): Do not generate message if with'ed unit is internal

From-SVN: r106998
gcc/ada/sem_ch10.adb