OSDN Git Service

2005-03-29 Thomas Quinot <quinot@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Mar 2005 16:15:11 +0000 (16:15 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Mar 2005 16:15:11 +0000 (16:15 +0000)
commite33a28e8b2f9a6c11c3eb81348ad4b14dc58ae4a
tree7013380c9973522d585bba691157d9afdd9e7a7b
parent811e256647a3b0040ad243dd4c625b9981dffebd
2005-03-29  Thomas Quinot  <quinot@adacore.com>

* exp_dist.adb (Add_RAST_Features, PolyORB version): Set the From_Any,
To_Any and TypeCode TSSs on RAS types directly using Set_TSS, instead
of using Set_Renaming_TSS. This ensures that the TSS bodies are not
analyzed if expansion is disabled (which could otherwise cause spurious
error messages if expansion has been disabled due to previous
(unrelated) errors).

* sem_prag.adb (Analyze_Pragma, case Asynchronous): If RAS expansion
is disabled, the entity denoted by the argument is the access type
itself, not an underlying record type, so there is no need to go back
to the Corresponding_Remote_Type.

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