sem_ch12.adb (Instantiate_Formal_Subprogram): Do not apply AI05-296 if the actual...
authorEd Schonberg <schonberg@adacore.com>
Tue, 12 Jun 2012 12:07:11 +0000 (12:07 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 12 Jun 2012 12:07:11 +0000 (14:07 +0200)
commit33738c606df5ea714dd9260ba65e7643e3216dea
tree398c424ccc8f4c969bbc9c62192c994b6868861b
parente98668b178c080f9e264011a3af160d02a796a4f
sem_ch12.adb (Instantiate_Formal_Subprogram): Do not apply AI05-296 if the actual is overloaded.

2012-06-12  Ed Schonberg  <schonberg@adacore.com>

* sem_ch12.adb (Instantiate_Formal_Subprogram): Do not apply
AI05-296 if the actual is overloaded. In this case The rule must
be applied after resolution, in Analyze_Subprogram_Renaming.

From-SVN: r188450
gcc/ada/ChangeLog
gcc/ada/sem_ch12.adb