Randomization in gcc generates different assembly file
Richard Guenther
richard.guenther@gmail.com
Tue May 10 15:08:00 GMT 2011
On Tue, May 10, 2011 at 4:20 PM, Ian Lance Taylor <iant@google.com> wrote:
> fanqifei <fanqifei@gmail.com> writes:
>
>>>> Which file or fucntion should I look into? Maybe I can work around in 4.3.2
>>>
>>> Look into tree-ssa-alias.c and tree-ssa-structalias.c
>>>
>>>> What change in 4.5 fixed it?
>>>
>>> A complete rewrite of the above ...
>>>
>>> Richard.
>> So is there easy way to work around in 4.3.2 to disable the randomization?
>> I am not familiar with tree ssa. Hope there is. :(
>
> You could disable alias analysis via -fno-strict-aliasing. Of course
> that will affect optimization.
>
> I can't think of another easy way.
I think that won't help - we still do all the partitioning work thus the
non-TBAA path will be affected.
Richard.
> Ian
>
More information about the Gcc
mailing list