* gcc-interface/decl.c (gnat_to_gnu_entity): Rewrite Esize calculation.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Apr 2009 19:56:48 +0000 (19:56 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Apr 2009 19:56:48 +0000 (19:56 +0000)
commit62f026a2e86f93e96499dfc147a265d5c4b7dc43
tree1cf69154bdae6c2bd8d476bdb6d5f490186ef5c2
parentb9c74b4dc40904cbb3882d1c245d4eeae24139f4
* gcc-interface/decl.c (gnat_to_gnu_entity): Rewrite Esize calculation.
<E_Signed_Integer_Subtype>: Set the RM size on the integer type
before wrapping it up in the record type.  Do not overwrite the
Ada size of the record type with the Esize.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146452 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/small_alignment.ads [new file with mode: 0644]