sem_ch8.adb (Analyze_Renamed_Entry): For a renaming_as_declaration...
authorEd Schonberg <schonberg@adacore.com>
Mon, 5 Sep 2005 08:02:37 +0000 (10:02 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 5 Sep 2005 08:02:37 +0000 (10:02 +0200)
commit725393ea9114df692c55610f1f8bafe5959395a9
tree52bc6b9a192d1df318a2f76295d6286a807f0dc2
parent41251c605ff07de711f91f42accdc1efec00debd
sem_ch8.adb (Analyze_Renamed_Entry): For a renaming_as_declaration...

2005-09-01  Ed Schonberg  <schonberg@adacore.com>

* sem_ch8.adb (Analyze_Renamed_Entry): For a renaming_as_declaration,
verify that the procedure and the entry are mode conformant.
(Analyze_Subprogram_Renaming): Emit a warning if an operator is renamed
as a different operator, which is often a cut-and-paste error.

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