r128391 - in /trunk/gcc: ChangeLog ada/ChangeLo...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Tue Sep 11 19:43:00 GMT 2007
Author: ebotcazou
Date: Tue Sep 11 19:43:02 2007
New Revision: 128391
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128391
Log:
* tree-ssa-structalias.c (push_fields_onto_fieldstack): Deal with
TYPE_NONALIASED_COMPONENT like with DECL_NONADDRESSABLE_P.
ada/
* decl.c (array_type_has_nonaliased_component): New predicate.
(gnat_to_gnu_field) <E_Array_Type>: Invoke the above predicate to
set the TYPE_NONALIASED_COMPONENT flag on the type.
<E_Array_Subtype>: Likewise.
* gigi.h (type_for_nonaliased_component_p): Declare.
* utils.c (type_for_nonaliased_component_p): New predicate.
(create_field_decl): Invoke the above predicate to set the
DECL_NONADDRESSABLE_P flag on the field.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/decl.c
trunk/gcc/ada/gigi.h
trunk/gcc/ada/utils.c
trunk/gcc/tree-ssa-structalias.c
More information about the Gcc-cvs
mailing list