tree.c (verify_type_variant): Skip TYPE_SIZE and TYPE_SIZE_UNIT if they are both...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 21 Jun 2016 21:34:12 +0000 (21:34 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 21 Jun 2016 21:34:12 +0000 (21:34 +0000)
commitd42b75599229d4a0e36fddae2931feff40ae7c03
treee7b0e434edc72f983800394d5804a843fe014a03
parent5cd0a74a915cbd63653a8332c2a54c13bb33fbf4
tree.c (verify_type_variant): Skip TYPE_SIZE and TYPE_SIZE_UNIT if they are both PLACEHOLDER_EXPRs.

* tree.c (verify_type_variant): Skip TYPE_SIZE and TYPE_SIZE_UNIT if
they are both PLACEHOLDER_EXPRs.
ada/
* gcc-interface/decl.c (set_nonaliased_component_on_array_type): New
function.
(set_reverse_storage_order_on_array_type): Likewise.
(gnat_to_gnu_entity) <E_Array_Type>: Call them to set the flags.
<E_Array_Subtype>: Likewise.
<E_String_Literal_Subtype>: Likewise.
(substitute_in_type) <ARRAY_TYPE>: Likewise.
* gcc-interface/utils.c (gnat_pushdecl): Always create a variant for
the DECL_ORIGINAL_TYPE of a type.

From-SVN: r237658
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/utils.c
gcc/tree.c