This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: simple calls.c cleanups (help on trees needed)
On Fri, Mar 31, 2000 at 01:00:02PM +0200, Jan Hubicka wrote:
> Perhaps we can disable
> it for functions too, since it is useless for C at all.
I wouldn't bother adding code to disable it either.
It won't get enabled.
> I was thinking about that path (synthetize the expression for expand_call),
> and it looks like if I use RTL_EXPR for function parameters, I will run into
> problems with safe_reeval.
Look at the code below the "Wildly unsafe" comment in expand_call.
The rtx you'll be getting from the libcall is of the sort that you
can stick directly in a VAR_DECL.
> So I was thinking about alternate approach to fill args structure in
> expand_call and emit_library_call separately and then call common
> function to emit the neccesary insns.
This would also be workable.
r~