r134092 - in /trunk/gcc/ada: ChangeLog decl.c g...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Tue Apr 8 11:42:00 GMT 2008
Author: ebotcazou
Date: Tue Apr 8 11:41:59 2008
New Revision: 134092
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134092
Log:
* decl.c (gnat_to_gnu_entity) <object>: If -gnatd.a and not optimizing
alignment for space, promote the alignment of non-scalar variables with
no size and alignment.
* gigi.h (gnat_types_compatible_p): Declare.
* misc.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Set to above predicate.
* trans.c (gnat_to_gnu): Revert revision 129339 change. Minor cleanup.
* utils.c (gnat_types_compatible_p) : New predicate.
(convert): Use it throughout to test for cases where a mere view
conversion is sufficient.
* utils2.c (build_binary_op): Minor tweaks.
(build_unary_op): Likewise.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/decl.c
trunk/gcc/ada/gigi.h
trunk/gcc/ada/misc.c
trunk/gcc/ada/trans.c
trunk/gcc/ada/utils.c
trunk/gcc/ada/utils2.c
More information about the Gcc-cvs
mailing list