https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66275
--- Comment #11 from uros at gcc dot gnu.org --- Author: uros Date: Mon Jun 8 20:59:07 2015 New Revision: 224249 URL: https://gcc.gnu.org/viewcvs?rev=224249&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-4_8-branch/gcc/testsuite/gcc.target/i386/pr66275.c Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/config/i386/i386.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog