2005-11-14 Gary Dismukes <dismukes@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Nov 2005 14:03:10 +0000 (14:03 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Nov 2005 14:03:10 +0000 (14:03 +0000)
commit8fbc9d1376be1e2d3b2af69bbb3af08ae2af8142
tree136ec9faf25b55b76a92477dd12fb68397510af6
parentd4073937f1e79dafb0469271d53ebc6c38c4a211
2005-11-14  Gary Dismukes  <dismukes@adacore.com>
    Ed Schonberg  <schonberg@adacore.com>

* sem_ch7.adb (Install_Parent_Private_Declarations): New procedure
nested within Analyze_Package_Specification to install the private
declarations and use clauses within each of the parent units of a
package instance of a generic child package.
(Analyze_Package_Specification): When entering a private part of a
package associated with a generic instance or formal package, the
private declarations of the parent must be installed (by calling new
procedure Install_Parent_Private_Declarations).
Change name Is_Package to Is_Package_Or_Generic_Package
(Preserve_Full_Attributes): For a synchronized type, the corresponding
record is absent in a generic context, which does not indicate a
compiler error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107002 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/sem_ch7.adb