[Bug target/86236] Stack alignment prologue clobbers %edi for fastcall functions with global register variable

2018-11-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/86236] Stack alignment prologue clobbers %edi for fastcall functions with global register variable

2018-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236 --- Comment #4 from Jakub Jelinek --- 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?

[Bug target/86236] Stack alignment prologue clobbers %edi for fastcall functions with global register variable

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236 --- Comment #3 from Jakub Jelinek --- Though, obviously with -m32 we are getting -><- this close to getting rid out of all usable registers with fastcall, static chain and drap, especially if also -fpic.

[Bug target/86236] Stack alignment prologue clobbers %edi for fastcall functions with global register variable

2018-06-20 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236 Florian Weimer changed: What|Removed |Added Summary|-mstackrealign prologue |Stack alignment prologue