[Bug target/86236] Stack alignment prologue clobbers %edi for fastcall functions with global register variable
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 20 17:01:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-11-20
CC| |xuepeng.guo at intel dot com
Ever confirmed|0 |1
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #4)
> H.J., any thoughts on this? Can we try to pick other regs if %edi is taken
> (if there are any left, I'm afraid often there won't be any) or should we
> just error out?
We need to fix find_drap_reg to check for fixed registers. If we can't
find a register, we should issue an error.
More information about the Gcc-bugs
mailing list