Fix abort when passing 1.0L as unnamed argument.

* config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
	operand_subword.

From-SVN: r40951
This commit is contained in:
Jim Wilson 2001-03-28 21:55:09 +00:00 committed by Jim Wilson
parent 400f4e5529
commit 2bf47a10a9
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2001-03-28 Jim Wilson <wilson@redhat.com>
* config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
operand_subword.
2001-03-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.

View file

@ -707,9 +707,9 @@
if (GET_CODE (operands[1]) == CONST_DOUBLE)
{
emit_move_insn (gen_rtx_REG (DImode, REGNO (operands[0])),
operand_subword (operands[1], 0, 0, DImode));
operand_subword (operands[1], 0, 0, TFmode));
emit_move_insn (gen_rtx_REG (DImode, REGNO (operands[0]) + 1),
operand_subword (operands[1], 1, 0, DImode));
operand_subword (operands[1], 1, 0, TFmode));
DONE;
}