2008-05-20 Ed Schonberg <schonberg@adacore.com>
authorEd Schonberg <schonberg@adacore.com>
Tue, 20 May 2008 12:50:43 +0000 (14:50 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 20 May 2008 12:50:43 +0000 (14:50 +0200)
commitff81221b5bd3b8101301e4eaaa15bde8b0553b00
tree13ae7d313472367fc59edd8115f54a80a6fd170e
parent5ff22245698ae9b3f229ab127744baceddbf6a02
2008-05-20  Ed Schonberg  <schonberg@adacore.com>

* sem_ch8.adb
(Note_Redundant_Use): Diagnose a redundant use within a subprogram body
when there is a use clause for the same entity in the context.
(Analyze_Subprogram_Renaming): A renaming_as_body is legal if it is
created for a stream attribute of an abstract type or interface type.

From-SVN: r135641
gcc/ada/sem_ch8.adb