https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66275
--- Comment #9 from uros at gcc dot gnu.org --- Author: uros Date: Mon Jun 8 18:41:24 2015 New Revision: 224244 URL: https://gcc.gnu.org/viewcvs?rev=224244&root=gcc&view=rev Log: Backport from mainline: 2015-06-03 Uros Bizjak <ubiz...@gmail.com> PR target/66275 * config/i386/i386.c (ix86_function_arg_regno): Use ix86_cfun_abi to determine current function ABI. (ix86_function_value_regno_p): Ditto. testsuite/ChangeLog: Backport from mainline: 2015-06-03 Uros Bizjak <ubiz...@gmail.com> PR target/66275 * gcc.target/i386/pr66275.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr66275.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/i386/i386.c branches/gcc-5-branch/gcc/testsuite/ChangeLog