decl.c (gnat_to_gnu_entity): Always take into account the Esize if it is known.
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 21 Dec 2017 22:02:45 +0000 (22:02 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 21 Dec 2017 22:02:45 +0000 (22:02 +0000)
commit0e5b9de3128a989de7438db0930b9800e7e0f4c8
treec6dbdab5d4331e0b739e2aad47318d678ab59109
parent92cd3a86d1fc9d60a7733b82d01f9ff1d2a91547
decl.c (gnat_to_gnu_entity): Always take into account the Esize if it is known.

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Always take
into account the Esize if it is known.

From-SVN: r255958
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/atomic9.adb [new file with mode: 0644]