[patch] PR 37950

Richard Guenther richard.guenther@gmail.com
Wed Nov 12 20:21:00 GMT 2008


On Wed, Nov 12, 2008 at 11:17 AM, Zdenek Dvorak <rakdver@kam.mff.cuni.cz> wrote:
> Hi,
>
>> >        * tree-flow-inline.h (memory_partition): Return NULL when aliases were
>> >        not computed for the current function.
>>
>> It's better to clear out gimple_loaded_syms() from the moved
>> statements.  In fact, build_ssa_operands should probably clear
>> loaded/stored syms (I thought it did already).
>
> unfortunately, that is not possible -- that would give you empty
> gimple_loaded_syms, breaking alias analysis (unless you are willing
> to rescan all statement operands at the beginning of alias analysis;
> I have considered that, but since rescanning the operands is rather
> expensive, I think it is better to get the operands right the first
> time),

For fixing PR38051 I will have to remove using the loaded/stored syms
from alias analysis.  So it may work to clean them after that.

Richard.

> Zdenek
>



More information about the Gcc-patches mailing list