PATCH: Request for comments
Richard Henderson
rth@cygnus.com
Fri Jun 25 17:12:00 GMT 1999
On Fri, Jun 25, 1999 at 04:58:16PM -0600, Jeffrey A Law wrote:
> emit_library_call does not emit any
> queued instructions until after the args have been loaded.
How does this work on SMALL_REGISTER_CLASS machines that pass
arguments in registers? It appears as if emit_library_call
will generate
(set (reg arg0) (reg tmp))
(set (reg tmp) (plus (reg tmp) (const_int 1))
(call foo)
which could run awry of reload killing arg0, no?
> Either it should use the same code for simplicity or we need a comment
> for this case.
Definitely.
r~
More information about the Gcc-patches
mailing list