From 98ea74375f446196ce2ff7a3d5f7f9587b3ced52 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Tue, 19 Jul 2005 08:01:55 +0000 Subject: [PATCH] i386.md (lrint2): Use temporary instead of clobbering non-existent memory. 2005-07-19 Richard Guenther * config/i386/i386.md (lrint2): Use temporary instead of clobbering non-existent memory. From-SVN: r102154 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 856623ee7d73..6bf8c3f17012 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-07-19 Richard Guenther + + * config/i386/i386.md (lrint2): Use temporary + instead of clobbering non-existent memory. + 2005-07-19 Ben Elliston * bt-load.c (link_btr_uses): Fix uninitialised warnings. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index ba35331189ec..c5f9b2a8cd92 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -16570,9 +16570,9 @@ emit_insn (gen_fist2 (operands[0], operands[1])); else { - operands[2] = assign_386_stack_local (mode, SLOT_TEMP); + rtx op = assign_386_stack_local (mode, SLOT_TEMP); emit_insn (gen_fist2_with_temp (operands[0], operands[1], - operands[2])); + op)); } DONE; })