decl.c (gnat_to_gnu_entity): Try to ensure that an object of CW type initialized...
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 19 Jul 2012 21:09:53 +0000 (21:09 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 19 Jul 2012 21:09:53 +0000 (21:09 +0000)
commitb42ff0a550777b45ca004460ef55f50f8f0e34c9
tree3ec3b22635fcddef0db081536f221cd82c4dd6f0
parentf9fef34989a9d1974943ec3e835a547b56150c6a
decl.c (gnat_to_gnu_entity): Try to ensure that an object of CW type initialized to a value is sufficiently...

* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Try to ensure
that an object of CW type initialized to a value is sufficiently
aligned for this value.

From-SVN: r189682
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/derived_type3.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/derived_type3_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/derived_type3_pkg.ads [new file with mode: 0644]