[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 13 Jul 2009 12:17:53 +0000 (14:17 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 13 Jul 2009 12:17:53 +0000 (14:17 +0200)
commit0e41a941ee11651b5805c730d2675902d64577aa
tree85a56e9c3d5c1469ea1e28e6aab324892ec6a178
parent75069667df1ed5fafbb9e1f4532adf1233b7eeab
[multiple changes]

2009-07-13  Emmanuel Briot  <briot@adacore.com>

* prj-err.adb (Error_Msg): One more case where a message should be
considered as a warning.

* gnatcmd.adb (GNATCmd): Fix previous change, which negated a test.

2009-07-13  Thomas Quinot  <quinot@adacore.com>

* exp_dist.adb (Expand_All_Calls_Remote_Subprogram_Call): Analyze
calling stubs in the (library level) scope of the RCI locator, where it
is attached, not in the caller's scope.

2009-07-13  Javier Miranda  <miranda@adacore.com>

* sem_ch3.adb (Analyze_Object_Declaration): In case of class-wide
interface object declarations we delay the generation of the equivalent
record type declarations until its expansion because there are cases in
which they are not required.

* sem_util.adb (Implements_Interface): Add missing support for subtypes.

* sem_disp.adb (Check_Controlling_Formals): Minor code cleanup plus
addition of assertion.

* exp_util.adb (Expand_Subtype_From_Expr): Renamings of class-wide
interface types require no equivalent constrained type declarations
because the expanded code only references the tag component associated
with the interface.
(Find_Interface_Tag): Improve management of interfaces that are
ancestors of tagged types.

* exp_ch3.adb (Expand_N_Object_Declaration): Improve the expansion of
class-wide object declarations to add missing support to statically
displace the pointer to the object to reference the tag component
associated with the interface.

* exp_disp.adb (Make_Tags) Avoid generation of internally generated
auxiliary types associated with user-defined dispatching calls if the
type has no user-defined primitives.

From-SVN: r149574
gcc/ada/ChangeLog
gcc/ada/exp_ch3.adb
gcc/ada/exp_disp.adb
gcc/ada/exp_dist.adb
gcc/ada/exp_util.adb
gcc/ada/gnatcmd.adb
gcc/ada/prj-err.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_disp.adb
gcc/ada/sem_util.adb