]> gcc.gnu.org Git - gcc.git/commit
tree-ssa-structalias.c (push_fields_onto_fieldstack): Deal with TYPE_NONALIASED_COMPO...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 11 Sep 2007 19:43:02 +0000 (19:43 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 11 Sep 2007 19:43:02 +0000 (19:43 +0000)
commitfa89b6ecba4ce9448b82a21f91b360eacf57bc72
tree6794bfdde0fa3a761d0a915bf86007b0ca87d7e2
parent868eaa1f422576b092cc1bdcf576d4cfa3d18fb3
tree-ssa-structalias.c (push_fields_onto_fieldstack): Deal with TYPE_NONALIASED_COMPONENT like with DECL_NONADDRESSABLE_P.

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

From-SVN: r128391
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/decl.c
gcc/ada/gigi.h
gcc/ada/utils.c
gcc/tree-ssa-structalias.c
This page took 0.061565 seconds and 5 git commands to generate.