https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66275
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> --- Created attachment 35670 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35670&action=edit Proposed patch Patch that fixes ix86_function_arg_regno_p and ix86_function_value_regno_p to follow the ABI attribute.