diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-08 18:20:25 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-08 18:20:25 +0000 |
commit | 59ae5d2f9ce1f6d88b69e251509518936fff719d (patch) | |
tree | d5926ab1190fe1d080932c18c3f0cf070e65bdb5 /gcc/reg-stack.c | |
parent | b8c926fffb2acc99b1410c2e565b07bdc83952b2 (diff) | |
download | gcc-59ae5d2f9ce1f6d88b69e251509518936fff719d.tar.gz |
PR target/30120
* reg-stack.c (convert_regs_entry): Mark current argument passing
registers as live.
* config/i386/i386.h (X87_REGPARM_MAX): Set to 0 to disable passing
of float arguments in x87 registers.
testsuite/ChangeLog:
* gcc.target/i386/x87regparm-1.c: XFAIL.
* gcc.target/i386/x87regparm-2.c: XFAIL.
* gcc.target/i386/x87regparm-3.c: XFAIL.
* gcc.target/i386/x87regparm-4.c: XFAIL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119663 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r-- | gcc/reg-stack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index 57924ceba28..327cee51f08 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -2595,7 +2595,8 @@ convert_regs_entry (void) int reg, top = -1; for (reg = LAST_STACK_REG; reg >= FIRST_STACK_REG; --reg) - if (TEST_HARD_REG_BIT (bi->stack_in.reg_set, reg)) + if (TEST_HARD_REG_BIT (bi->stack_in.reg_set, reg) + || TEST_HARD_REG_BIT (incoming_regs, reg)) { rtx init; |