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: [PATCH] Fix call-clobbering (PRs 36373 and 36387)


On Fri, May 30, 2008 at 6:12 PM, Richard Guenther <rguenther@suse.de> wrote:
>
> The current call-clobbering code as far as it deals with using
> the PTA results is missing quite a few cases.  First escaped
> aggregates (as opposed to pointers) are not tracked at all.

Only because you removed the code to do so when you removed SFT's :)

> Second, we miss to compute the reachability set of the
> escaped pointers and only clobber the directly pointed-to
> memory.

This is because we relied on pta results getting transformed into
NMT's, and then the NMT's were walked during transitive closure.
What broke this, it should have worked fine, because the loop in
mark_call_clobbered already does a transitive closure.


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