OSDN Git Service

* sem_ch12.adb:
authorbosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Dec 2001 18:56:11 +0000 (18:56 +0000)
committerbosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Dec 2001 18:56:11 +0000 (18:56 +0000)
commitbf6a0490a3615931f6fe35150d977a84b1f12d4d
tree817c077e4fc55a97321d2b68eb17c09381b5affd
parentfa6b68d8578ae23a4655b922df40ece34da54370
* sem_ch12.adb:
(Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
to prevent freezing within formal packages.
(Freeze_Subprogram_Body): If body comes from another instance that
appeared before its own body, place freeze node at end of current
declarative part, to prevent a back-end crash.
(Inline_Instance_Body): Handle properly a package instance within
a subprogram instance that is a child unit.

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