* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Copy the
commit08edf44a09cda0bac6b25c517667da820ebe1f70
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Sep 2017 12:41:19 +0000 (9 12:41 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Sep 2017 12:41:19 +0000 (9 12:41 +0000)
tree7ec293a0b3b9c586c01489ba5104e89c78378201
parent0a8a428f3325903eb647dee892553c878d5f16dc
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Copy the
layout of the record from the parent type only if both are or are not
unchecked unions.
(is_stored_discriminant): Return false for an unchecked union.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251934 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c