aboutsummaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-10-19 20:00:12 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-10-19 18:00:12 +0000
commitcb0bc26338b68344eea600548df4a2d0ddbfd57b (patch)
treeb6522ed71889f4b4ed32a56e2a6c2f0de61d337b /gcc/reg-stack.c
parent707e58b1a72bcb33fdd7cbd50833599c53f74652 (diff)
downloadgcc-cb0bc26338b68344eea600548df4a2d0ddbfd57b.zip
gcc-cb0bc26338b68344eea600548df4a2d0ddbfd57b.tar.gz
gcc-cb0bc26338b68344eea600548df4a2d0ddbfd57b.tar.bz2
re PR rtl-optimization/12612 (ICE when using log function with -O3 -ffast-math)
* i386.c (print_reg): Do not abort on certain registers. PR optimization/12612 * reg-stack.c (subst_stack_regs_pat): Use st(1) for clobbers. * i386.md (fpatan, fyl2x, fscale patterns and expanders): Use match_scratch; avoid bogus paralles. PR target/12674 * i386.c (ix86_function_regparm): Disable implicit register passing conventions when profiling. From-SVN: r72681
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r--gcc/reg-stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index e1833bc..fe1bc23 100644
--- a/gcc/reg-stack.c
+++ b/gcc/reg-stack.c
@@ -1430,7 +1430,7 @@ subst_stack_regs_pat (rtx insn, stack regstack, rtx pat)
abort ();
}
remove_note (insn, note);
- replace_reg (dest, LAST_STACK_REG);
+ replace_reg (dest, FIRST_STACK_REG + 1);
}
else
{