This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trying to backport alias fix to 4.2


On Tue, Aug 18, 2009 at 11:32 AM, Ned Gill<thomas.gill@csr.com> wrote:
> On Tue, 18 Aug 2009 10:14:37 +0100, Richard Guenther
> <richard.guenther@gmail.com> wrote:
>
>> It sounds like a bug in points-to analysis where it doesn't correctly
>> handle return values of pure/const functions. ?I would just
>> add a constraint from anything to the lhs of the call to fix it.
>
> Thanks for the quick reply. ?Could you expand a little - should I be looking
> at tree-ssa-alias.c or tree-ssa-pre.c? ?I'm not really familiar with this
> part of the compiler. ?What do you mean by "constraint" in this context?

No, the fix would be to tree-ssa-structalias.c somewhere in
handle_lhs_call (or find_func_aliases) - sorry, I don't have a 4.2 tree
around.  In the context you should see what a constraint is.

Richard.

> Thanks,
> Ned.
>
> --
>
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]