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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Anyway, if flag_fentry == 0, it doesn't seem to be safe to clobber any
registers to me,
sure, the code could test if %r10 or %r11 are ever live in the current function
(if that information is up to date at that point, or remember it during
prologue generation when we know we need function profiler with flag_fentry ==
0), but if they are live, I think it needs to do something different.
Or, can it use say %r12 instead of %r10 if %r10 is drap?

Reply via email to