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: RFC: PATCH to gimplify_modify_expr_rhs to make return slotexplicit




On Wed, 12 Jan 2005, Diego Novillo wrote:

Jason Merrill wrote:

Any thoughts?

Not an objection to the patch, but this will also cause TBAA to introduce more alias relations with the variable in the return slot. The aliasing code will not only see it as an addressable variable, but will also consider it call-clobbered.

I'm not sure how much of a problem this is, but it should be easy to measure by checking the .alias dumps before/after the patch. We obviously need to make the aliaser smarter (law and dberlin are working on enhancements that should help, though they may not be ready for 4.0).

The stuff i'm working on is definitely not 4.0 material, though i'm about to fix the remaining regressions.


I have no idea about Jeff's work (i assume it's a much smaller amount of work, since he hasn't created a branch for it or anything of the sort).




Diego.



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