aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/ada-tree.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2019-08-30 15:12:20 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2019-08-30 15:12:20 +0000
commit0c2837b5c408f8fd2b023a7bf00be9abd1e28a28 (patch)
tree706ae520a2d14fa4f31a700f4138b4b994367b57 /gcc/ada/gcc-interface/ada-tree.h
parentc85dbadc061f7c7f3575e335976150370d8652be (diff)
downloadgcc-0c2837b5c408f8fd2b023a7bf00be9abd1e28a28.zip
gcc-0c2837b5c408f8fd2b023a7bf00be9abd1e28a28.tar.gz
gcc-0c2837b5c408f8fd2b023a7bf00be9abd1e28a28.tar.bz2
gigi.h (aggregate_type_contains_array_p): Declare.
* gcc-interface/gigi.h (aggregate_type_contains_array_p): Declare. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: For an extension, test Has_Record_Rep_Clause instead of Has_Specified_Layout. (adjust_packed): Return 0 if the type of the field is an aggregate type that contains (or is) a self-referential array. (type_has_variable_size): Delete. * gcc-interface/utils.c (inish_record_type): Constify a variable. (aggregate_type_contains_array_p): Add parameter SELF_REFERENTIAL. <RECORD_TYPE>: Pass it in the recursive call. <ARRAY_TYPE>: If it is true, return true only if the array type is self-referential. (create_field_decl): Streamline the setting of the alignment on the field. Pass false to aggregate_type_contains_array_p. From-SVN: r275196
Diffstat (limited to 'gcc/ada/gcc-interface/ada-tree.h')
0 files changed, 0 insertions, 0 deletions