This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Incorrect bitfield aliasing with Tree SSA
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Adam Nemet <anemet at caviumnetworks dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>, dberlin at dberlin dot org
- Date: Tue, 19 Jun 2007 16:13:24 +0200
- Subject: Re: Incorrect bitfield aliasing with Tree SSA
- References: <18034.48960.772642.116034@localhost.localdomain> <10706182056.AA22289@vlsi1.ultra.nyu.edu> <18039.29800.223240.870336@localhost.localdomain>
> * tree.h (struct tree_struct_field_tag): Add new field alias_set.
> (SFT_NONADDRESSABLE_P, SFT_ALIAS_SET): New macros.
> * tree-flow.h (struct fieldoff): Add new field alias_set.
> * tree-ssa-structalias.c (push_fields_onto_fieldstack): Add new
> argument addressable_type. Set alias_set of fieldoff.
> * tree-ssa-alias.c (create_sft): Add new argument alias_set.
> (create_overlap_variables_for): Pass alias_set from fieldoff to
> create_sft.
> * alias.c (get_alias_set): Use alias_set from SFT if set.
Thanks for crafting this. Btw, could you add
PR tree-optimization/25737
on top of the ChangeLog entry when you commit it?
--
Eric Botcazou