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

--- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 46359
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46359&action=edit
gcc10-pr90329.patch

Untested workaround that isn't a too big hammer.  This should just avoid tail
calls in functions where the hidden string arguments for
character(len=constant) dummy arguments are passed partially or fully on the
stack and the callee needs to pass anything on the stack and thus might clobber
that.

Reply via email to