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]

Re: Reload shouldn't share in-operands with base of out-operands


>
> Here's the deal: whenever we have an input operand that is used in the
> address of the output operand, we can't share it with any other
> reload, because it may be modified in this other reload before we have
> a chance to use the address.  Before my patch, we'd only prevent
> sharing in cases this input operand was a register.  I've extended it
> to match PLUSes too.  That's all.

Right.  I'm still not convinced it'll find all such cases by just looking
at IN or OUT.  For example, if you're reloading (mem (pseudo)), and
(pseudo) is equivalent to a different MEM, the actual expression is
something like (mem (mem (some address))), but we'll not actually get to
see the outer MEM when reloading the inner one - we don't replace the rtl
at this stage; it'll happen later in subst_reloads.  That's why I'd prefer
to go looking through the replacements.

> > (Please include patches in the main body of the message so they can be
> > quoted)
>
> Do you mean Pine won't handle inline text MIME sections as text?  :-(

Apparently not.

> I wonder how it tells the body of the message from other sections...

I guess it assumes the first section is the body.


Bernd


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