decl.c (gnat_to_gnu_entity): Create TYPE_DECL for the padded type built to support...
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 26 Mar 2011 10:18:54 +0000 (10:18 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 26 Mar 2011 10:18:54 +0000 (10:18 +0000)
commit51c7954daf0d223599ad0aeea64b63816ee1e354
tree5584c686f2c797da62ca728685356ce85163698f
parent6ddf9843628ab87261d2ec8dc3d14ac057e76014
decl.c (gnat_to_gnu_entity): Create TYPE_DECL for the padded type built to support a specified size or alignment.

* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Create TYPE_DECL
for the padded type built to support a specified size or alignment.

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