sem_ch5.adb (Analyze_Assignment_Statement): Apply conversion to right-hand side when...
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 5 Aug 2008 14:37:44 +0000 (16:37 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 5 Aug 2008 14:37:44 +0000 (16:37 +0200)
commit434d3cf1fd098c0f3ab5b8f14bf512e0c077cda6
treecb34d71cbbef2e4cf35e0cc52a8b05226422b472
parent8d9509fd725209f785a5ded6152ff9aa97058cde
sem_ch5.adb (Analyze_Assignment_Statement): Apply conversion to right-hand side when it is an anonymous access_to_subprogram...

2008-08-05  Ed Schonberg  <schonberg@adacore.com>

* sem_ch5.adb (Analyze_Assignment_Statement): Apply conversion to
right-hand side when it is an anonymous access_to_subprogram, to force
static accessibility check when needed.

From-SVN: r138723
gcc/ada/ChangeLog
gcc/ada/sem_ch5.adb