trans.c (add_decl_expr): At toplevel, mark the TYPE_ADA_SIZE field of records and...
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 15 May 2008 10:53:49 +0000 (10:53 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 15 May 2008 10:53:49 +0000 (10:53 +0000)
commitf730e42f04d17e187fa77e1b07eb5aaed554ad5e
treeec3343a10a451945ecbd128e6e55048e5134e69a
parent9f59420d5c2a4c94a1d3c7c82988ffcd672cae9c
trans.c (add_decl_expr): At toplevel, mark the TYPE_ADA_SIZE field of records and unions.

* trans.c (add_decl_expr): At toplevel, mark the TYPE_ADA_SIZE field
of records and unions.
(gnat_to_gnu) <N_Validate_Unchecked_Conversion>: Fix formatting.

From-SVN: r135333
gcc/ada/ChangeLog
gcc/ada/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/discr8.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/discr8.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/discr8_pkg1.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/discr8_pkg2.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/discr8_pkg3.ads [new file with mode: 0644]