]> gcc.gnu.org Git - gcc.git/commit
decl.c (make_packable_type): Fix oversight.
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 8 Nov 2009 12:17:51 +0000 (12:17 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 8 Nov 2009 12:17:51 +0000 (12:17 +0000)
commitd770e88d122c56f9ec952817ced18ecdc3e39d31
tree6273f80f4dea4defb342293bca2ca508b0b3571e
parenteb1494409bcbb256db054db188c386d3e3cf0b55
decl.c (make_packable_type): Fix oversight.

* 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.

From-SVN: r154009
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/rep_clause4.adb [new file with mode: 0644]
This page took 0.060464 seconds and 5 git commands to generate.