sem_ch13.adb: Storage pool cannot be given for access to subprogram type.
authorRobert Dewar <dewar@adacore.com>
Tue, 31 Oct 2006 18:06:54 +0000 (19:06 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 31 Oct 2006 18:06:54 +0000 (19:06 +0100)
commitaffbee12f4cd5c6eefd53f78dca2f2db313a06b7
treeec514e71e7c10f3801e31afab79e000bb96d6cce
parent097fdf65a05396d05141261b11af098ad63b346e
sem_ch13.adb: Storage pool cannot be given for access to subprogram type.

2006-10-31  Robert Dewar  <dewar@adacore.com>
    Thomas Quinot  <quinot@adacore.com>

* sem_ch13.adb: Storage pool cannot be given for access to subprogram
type.
(New_Stream_Subprogram): When processing an attribute definition clause
for a stream-oriented subprogram, record an entity node occurring at
the point of clause to use for checking the visibility of the clause,
as defined by 8.3(23) as amended by AI-195.
(New_Stream_Subprogram): New procedure, factoring behaviour from both
 New_Stream_Function and New_Stream_Procedure.
(New_Stream_Function, New_Stream_Procedure): Removed.
(Analyze_Attribute_Definition_Clause, case Address): Check new
Alignment_Check check

From-SVN: r118301
gcc/ada/sem_ch13.adb