r134916 - in /trunk/gcc: ada/ChangeLog ada/decl...

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Sat May 3 19:35:00 GMT 2008


Author: ebotcazou
Date: Sat May  3 19:35:01 2008
New Revision: 134916

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134916
Log:
	* decl.c (maybe_pad_type): Try to get a form of the type with integral
	mode even if the alignment is not a factor of the original size.  But
	make sure to create the inner field with the original size.  Reorder.
	* trans.c (addressable_p) <COMPONENT_REF>: Treat the field of a padding
	record as always addressable.
	* utils.c (convert): Deal specially with conversions between original
	and packable versions of a record type.
	* utils2.c (build_binary_op) <MODIFY_EXPR>: Be more restrictive when
	recognizing an assignment between padded objects.


Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/decl.c
    trunk/gcc/ada/trans.c
    trunk/gcc/ada/utils.c
    trunk/gcc/ada/utils2.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gnat.dg/alignment4.adb
    trunk/gcc/testsuite/gnat.dg/alignment5.adb
    trunk/gcc/testsuite/gnat.dg/alignment6.adb



More information about the Gcc-cvs mailing list