COMPONENT_REF problem ?

Richard Guenther richard.guenther@gmail.com
Tue Oct 6 09:48:00 GMT 2009


On Tue, Oct 6, 2009 at 3:00 AM, Pranav Bhandarkar
<pranav.bhandarkar@gmail.com> wrote:
> Richard,
>
>> If you are not working on trunk this can happen because the way
>> MEM_EXPRs are "canonicalized".
>
> Thanks. Yes, I am not on trunk and may not be able to move right away.
> I would appreciate some pointers about where I should look, If I want
> to fix this ?

Look at

2009-07-14  Richard Guenther  <rguenther@suse.de>
            Andrey Belevantsev <abel@ispras.ru>

        * tree-ssa-alias.h (refs_may_alias_p_1): Declare.
        (pt_solution_set): Likewise.
        * tree-ssa-alias.c (refs_may_alias_p_1): Export.
        * tree-ssa-structalias.c (pt_solution_set): New function.
        * final.c (rest_of_clean_state): Free SSA data structures.
...
        * emit-rtl.c (component_ref_for_mem_expr): Remove.
        (mem_expr_equal_p): Use operand_equal_p.
        (set_mem_attributes_minus_bitpos): Do not use
        component_ref_for_mem_expr.
...

this change.

Richard.

> Thanks,
> Pranav
>



More information about the Gcc mailing list