OSDN Git Service

2005-03-29 Thomas Quinot <quinot@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Mar 2005 16:19:33 +0000 (16:19 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Mar 2005 16:19:33 +0000 (16:19 +0000)
commit78798edd12e86ae09d38054fc6a0ae363f4a7b2e
tree6e697df86b5a439af1b9009cca5a2ae1fd79e0f8
parenta4d03817bcd1555f4ee1daba0842147ea630b3a6
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97182 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/sem_cat.adb
gcc/ada/sem_util.adb