decl.c (gnat_to_gnu_entity): Remove obsolete test on Is_For_Access_Subtype.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Remove obsolete test on Is_For_Access_Subtype. From-SVN: r271683
This commit is contained in:
parent
f65f371bcf
commit
3e86c778cb
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2019-05-28 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Remove
|
||||
obsolete test on Is_For_Access_Subtype.
|
||||
|
||||
2019-05-28 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc-interface/decl.c (components_to_record): Set a name on the type
|
||||
|
|
|
@ -3373,7 +3373,6 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, bool definition)
|
|||
Unchecked_Union (it must be an Itype), just return the type. */
|
||||
if (Has_Discriminants (gnat_entity)
|
||||
&& Stored_Constraint (gnat_entity) != No_Elist
|
||||
&& !Is_For_Access_Subtype (gnat_entity)
|
||||
&& Is_Record_Type (gnat_base_type)
|
||||
&& !Is_Unchecked_Union (gnat_base_type))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue