sem_cat.adb (Validate_Remote_Types_Type_Conversion): Perform check to forbid conversi...
authorThomas Quinot <quinot@adacore.com>
Tue, 29 Mar 2005 16:19:33 +0000 (18:19 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 29 Mar 2005 16:19:33 +0000 (18:19 +0200)
commit6332d8420e1069330ec15e58d97702c20fe856d6
tree6e697df86b5a439af1b9009cca5a2ae1fd79e0f8
parent73e69194b512e909a964bd389904b520658490cc
sem_cat.adb (Validate_Remote_Types_Type_Conversion): Perform check to forbid conversion of a local access-to-subprogram type to a...

2005-03-29  Thomas Quinot  <quinot@adacore.com>

* sem_cat.adb (Validate_Remote_Types_Type_Conversion): Perform check to
forbid conversion of a local access-to-subprogram type to a remote one.

* sem_util.adb (Wrong_Type): For a record type that is the expanded
equivalent type for a remote access-to-subprogram type, go back to the
original RAS entity when displaying an error message, so the casing is
the original source casing.

From-SVN: r97182
gcc/ada/sem_cat.adb
gcc/ada/sem_util.adb