This is the mail archive of the gcc-patches@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: [alias-export] Account for stack slot shared vars when exporting info


2009/4/15 Andrey Belevantsev <abel@ispras.ru>:
> Hello,
>
> This patch allows us not to disambiguate memory accesses that share a stack
> slot. ?For that purpose, when saving the points-to solutions, we ensure
> that, first, any solution having one of partition variables in its points-to
> set would have all of them, and second, all pointers that share a stack slot
> will have their points-to sets unified. ?I had to create an uid->decl
> mapping in the process, which is not pretty, but I didn't think of the way
> to avoid this, as points-to sets have only DECL_UIDs.

referenced_var (uid) should give you the decl (you may need to
delay deallocating that hastable).

Richard.


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