OSDN Git Service

2010-10-04 Robert Dewar <dewar@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Oct 2010 13:59:18 +0000 (13:59 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Oct 2010 13:59:18 +0000 (13:59 +0000)
commite30c7d845f307eb85ad70795b7dc68d0df73ec41
treec898b07342d6c0021f6b3c1addd069381f36bee7
parent3bf53ccd3e8eeeb2a845216353cae31f1c6fbc2f
2010-10-04  Robert Dewar  <dewar@adacore.com>

* exp_cg.adb: Minor reformatting.

2010-10-04  Javier Miranda  <miranda@adacore.com>

* exp_cg.adb (Expand_N_Assignment_Statement): Restore tag check when
the target object is an interface.
* sem_disp.adb (Propagate_Tag): If the controlling argument is an
interface type then we generate an implicit conversion to force
displacement of the pointer to the object to reference the secondary
dispatch table associated with the interface.

2010-10-04  Robert Dewar  <dewar@adacore.com>

* sem_ch13.adb (Analyze_Enumeration_Representation_Clause): Set
Enumeration_Rep_Expr to point to the literal, not the identifier.
(Analyze_Enumeration_Representation_Clause): Improve error message for
size too small for enum rep value
(Analyze_Enumeration_Representation_Clause): Fix size test to use proper
size (RM_Size, not Esize).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164939 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_cg.adb
gcc/ada/exp_ch5.adb
gcc/ada/sem_ch13.adb
gcc/ada/sem_disp.adb