]> git.ipfire.org Git - thirdparty/gcc.git/commit
sem_cat.adb (Validate_RCI_Subprogram_Declaration): Revise test for available user...
authorGary Dismukes <dismukes@adacore.com>
Fri, 9 Dec 2005 17:20:53 +0000 (18:20 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 9 Dec 2005 17:20:53 +0000 (18:20 +0100)
commit5b7f5b7ff963eec025fd52acc80a543d85b5af5b
treeca858e7cb7325f4b646d81b9bb023dd0c3cad7c6
parentc3217dac82e78ecc5e3e428e8c14bab9047e2105
sem_cat.adb (Validate_RCI_Subprogram_Declaration): Revise test for available user-specified stream attributes on limited...

2005-12-05  Gary Dismukes  <dismukes@adacore.com>

* sem_cat.adb (Validate_RCI_Subprogram_Declaration): Revise test for
available user-specified stream attributes on limited parameters to
also test the type directly rather than only its underlying type (for
Ada 95) and, in the case of Ada 2005, to check that the user-specified
attributes are visible at the point of the subprogram declaration.
For Ada 2005, the error message is modified to indicate that the
type's stream attributes must be visible (again, only for -gnat05).

From-SVN: r108300
gcc/ada/sem_cat.adb