2009-07-10 Thomas Quinot <quinot@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jul 2009 09:21:34 +0000 (09:21 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jul 2009 09:21:34 +0000 (09:21 +0000)
commit7c949aad408a5361d9bbea8f7174aecaa1a03444
treedd859b65ff845e9fa2059d0a267f705a67cf355c
parentbe1ba8de52bccf9585ac01aacb20d2c76991b205
2009-07-10  Thomas Quinot  <quinot@adacore.com>

* exp_disp.adb (Make_Disp_Asynchronous_Select_Body,
Make_Disp_Conditional_Select_Body,
Make_Disp_Timed_Select_Body): For the case of a type that is neither an
interface nor a concurrent type, the primitive body is empty. Generate
a null statement so that it remains well formed.

2009-07-10  Ed Schonberg  <schonberg@adacore.com>

* exp_aggr.adb (Build_Record_Aggr_Code): If the type has discriminants,
replace references to them in defaulted component expressions with
references to the values of the discriminants of the target object.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149465 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_aggr.adb
gcc/ada/exp_disp.adb