https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178

--- Comment #15 from anlauf at gcc dot gnu.org ---
Created attachment 55453
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55453&action=edit
Revised patch

Revised patch that takes Tobias' suggestion into account that we scan
the formal argument list first to determine whether we better evaluate
argument expressions first.  This may avoid creating of temporaries for
many cases when none is needed.

This does not yet handle the case of character arguments, where for yet
unknown reasons no temporary is created.  Might be deferred for a second
patch.

Working on testcases right now.

Reply via email to