2009-04-17 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb (Access_Subprogram_Definition): Additional checks on
illegal uses of incomplete types in formal parts and return types.
* sem_ch6.adb (Process_Formals): Taft-amendment types are legal in
access to subprograms.
* sem_ch7.adb (Uninstall_Declarations): diagnose attempts to use
Taft-amendment types as the return type of an access_to_function type.
* freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete
type for access_to_subprograms. The check is performed on package exit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146229
138bc75d-0d04-0410-961f-
82ee72b054a4