einfo.ads (Has_Private_Ancestor): Remove obsolete usage.
commit7f1a5156f9e5b821983c10375a46a9236cdfc9cc
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 1 Aug 2014 14:31:20 +0000 (1 14:31 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 1 Aug 2014 14:31:20 +0000 (1 16:31 +0200)
tree57d5f2429f8a62011a2db25fc2155db30eea6d76
parentb5119ab13d85cabd201d037d3a20a720b7c1aa05
einfo.ads (Has_Private_Ancestor): Remove obsolete usage.

2014-08-01  Eric Botcazou  <ebotcazou@adacore.com>

* einfo.ads (Has_Private_Ancestor): Remove obsolete usage.
* exp_ch4.adb (Expand_Composite_Equality): Add conversion
of the actuals in the case of untagged record types too.
* sem_ch3.adb (Build_Full_Derivation): New procedure to create the
full derivation of a derived private type, extracted from...
(Copy_And_Build): In the case of record types and most
enumeration types, copy the original declaration.  Build the
full derivation according to the approach extracted from...
(Build_Derived_Private_Type): ...here. Call Build_Full_Derivation
to create the full derivation in all existing cases and also
create it in the no-discriminants/discriminants case instead of
deriving directly from the full view.
(Is_Visible_Component): Remove obsolete code.
* sem_aggr.adb (Resolve_Record_Aggregate): Likewise.

From-SVN: r213476
gcc/ada/ChangeLog
gcc/ada/einfo.ads
gcc/ada/exp_ch4.adb
gcc/ada/sem_aggr.adb
gcc/ada/sem_ch3.adb