https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63566
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- https://gcc.gnu.org/viewcvs?rev=216386&root=gcc&view=rev worked around this, Martin, are you going to work on the right fix (so that both functions can use local regparm ABI in this case)?