https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69318
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I really doubt there is anything we can do about this one really, In the previous version of the ABI (<=9), regparm and/or stdcall were not mangled for the function type. So obviously we would get two symbols with the same name.