[Bug target/83994] %ebx is clobbered by stack-clash probing for regparm-3 function in PIC mode
fw at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 23 15:28:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83994
--- Comment #2 from Florian Weimer <fw at gcc dot gnu.org> ---
It's still callee-saved, so it is picked by get_scratch_register_on_entry if it
is saved by the function, under the assumption that it is used only after the
prologue has saved it and there is no need to save and restore it separately.
(At least that's my understanding of the issue.)
More information about the Gcc-bugs
mailing list