decl.c (gnat_to_gnu_entity): Only set the TYPE_ALIGN_OK and TYPE_BY_REFERENCE_P flags...
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 9 Sep 2017 12:02:57 +0000 (12:02 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 9 Sep 2017 12:02:57 +0000 (12:02 +0000)
commitea09ecc5c01685aec71da99f8949f8e403e21789
treef179eb786fd436bd2e5e931dfc5deece03859df5
parent5bab4c9631c478b7940e952ea57de680321d5a8e
decl.c (gnat_to_gnu_entity): Only set the TYPE_ALIGN_OK and TYPE_BY_REFERENCE_P flags on types after various...

* gcc-interface/decl.c (gnat_to_gnu_entity): Only set the TYPE_ALIGN_OK
and TYPE_BY_REFERENCE_P flags on types after various promotions.
* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
Consider all kinds of entities.

From-SVN: r251927
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/vfa.ads [deleted file]
gcc/testsuite/gnat.dg/specs/vfa1.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/vfa2.ads [new file with mode: 0644]