PATCH for alias set/stack temporary bug

Mark Mitchell
Thu Feb 11 00:52:00 GMT 1999

>>>>> "Richard" == Richard Henderson <> writes:

    Richard> On Wed, Feb 10, 1999 at 11:01:59PM -0700, Jeffrey A Law
    Richard> wrote:
    >> Hmmm, what other ways can we try to deal with this?

    Richard> Can we represent set unions?

Yes; we've already got that functionality.

    Richard> We could create a set for each stack slot; stack slots
    Richard> that get broken up get subsetted so that they don't
    Richard> conflict with one another but do with the `parent' slot.
    Richard> The memory returned for any particular stack memory would
    Richard> have a mem set that is the union of it's type and
    Richard> containing stack slot.

That was my first idea too.  But, it's not very easy to do.  One of
the cases where we get stack temps is for the call frames for inlined
functions.  It's hard to alter the MEMs used by the callee to
incorporate this information.

I'll scratch my head a bit more over all this.

Mark Mitchell
Mark Mitchell Consulting

More information about the Gcc-patches mailing list