* gcc-interface/decl.c (make_packable_type): Fix oversight.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Nov 2009 12:17:51 +0000 (12:17 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Nov 2009 12:17:51 +0000 (12:17 +0000)
commit42173a9a36734023d716031d07bbb74fef23ae19
tree6273f80f4dea4defb342293bca2ca508b0b3571e
parent8311e9d227e0da28f63dc73acd3e10032f813ee6
* gcc-interface/decl.c (make_packable_type): Fix oversight.
(gnat_to_gnu_field): Do not attempt to change the form of the type
if the field requires strict alignment.  Always change the form of
the type if the specified size is smaller than its size.

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