freeze.adb (Freeze_Entity): For an access formal that is an access to subprogram...
authorEd Schonberg <schonberg@adacore.com>
Tue, 15 Nov 2005 13:58:51 +0000 (14:58 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Nov 2005 13:58:51 +0000 (14:58 +0100)
commit57747aeceacde34a61431db5857e81a5dcfe7738
treee32dc23d77d88fa699214dbbc0dd1d40ca6a0a07
parent6aea4c392afdb943dfec1caab983518610f9d726
freeze.adb (Freeze_Entity): For an access formal that is an access to subprogram...

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

* freeze.adb (Freeze_Entity): For an access formal that is an access
to subprogram, freeze the anonymous subprogram type at the same time,
to prevent later freezing in the wrong scope, such as the enclosing
subprogram body.
(Freeze_Entity): Freeze the equivalent_type of an access_to_protected_
subprogram whenever available.

From-SVN: r106979
gcc/ada/freeze.adb