Commit b16a49a1 by Geoff Keating Committed by Mark Mitchell

alias.c (record_component_aliases): Don't inspect DECL_NONADDRESSABLE_P of…

alias.c (record_component_aliases): Don't inspect DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures.

        * alias.c (record_component_aliases): Don't inspect
        DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures.

From-SVN: r34389
parent 089f6dc3
Sat Jun 3 19:05:30 2000 Michael Meissner <meissner@redhat.com> S2000-06-03 Geoff Keating <geoffk@cygnus.com>
* alias.c (record_component_aliases): Don't inspect
DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures.
at Jun 3 19:05:30 2000 Michael Meissner <meissner@redhat.com>
* ifcvt.c (process_insns): If IFCVT_MODIFY_INSN is defined, call * ifcvt.c (process_insns): If IFCVT_MODIFY_INSN is defined, call
it with the pattern to do machine dependent work. it with the pattern to do machine dependent work.
......
...@@ -536,7 +536,7 @@ record_component_aliases (type) ...@@ -536,7 +536,7 @@ record_component_aliases (type)
case UNION_TYPE: case UNION_TYPE:
case QUAL_UNION_TYPE: case QUAL_UNION_TYPE:
for (field = TYPE_FIELDS (type); field != 0; field = TREE_CHAIN (field)) for (field = TYPE_FIELDS (type); field != 0; field = TREE_CHAIN (field))
if (! DECL_NONADDRESSABLE_P (field)) if (TREE_CODE (field) == FIELD_DECL && ! DECL_NONADDRESSABLE_P (field))
record_alias_subset (superset, get_alias_set (TREE_TYPE (field))); record_alias_subset (superset, get_alias_set (TREE_TYPE (field)));
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment