asm-reg stuff (was: Re: fix 15089)

Richard Henderson rth@redhat.com
Wed Sep 29 11:37:00 GMT 2004


On Tue, Sep 28, 2004 at 11:27:50PM -0400, Hans-Peter Nilsson wrote:
> If you think there's more to do docwise after extend.texi 1.222
> (<URL:http://gcc.gnu.org/ml/gcc-patches/2004-09/msg01210.html>)
> try throwing a suggestion in this direction.

This looks ok.

> What can be expected of the values of call-clobbered registers
> used in asm-reg declarations; *should* they be clobbered by
> calls (as is done in past and present)

Yes.

> ... or should GCC protect
> their integrity (e.g. by saving them around calls)?

No.

> If not, is it ok to emit a warning?

Maybe.  What do you have in mind?


r~



More information about the Gcc-patches mailing list