From aaeee6d61627760d1ac78d26794e1338a4af8754 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 15 Dec 2008 21:23:37 +0000 Subject: mips.c (mips_expand_builtin_direct): Set TARGET to the result of mips_prepare_builtin_target. gcc/ * config/mips/mips.c (mips_expand_builtin_direct): Set TARGET to the result of mips_prepare_builtin_target. From-SVN: r142771 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 490114d..147d6f8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2008-12-15 Richard Sandiford + * config/mips/mips.c (mips_expand_builtin_direct): Set TARGET to + the result of mips_prepare_builtin_target. + +2008-12-15 Richard Sandiford + * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_abicalls if TARGET_ABICALLS is true. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index b73b022..71e64bb 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -11736,7 +11736,8 @@ mips_expand_builtin_direct (enum insn_code icode, rtx target, tree exp, opno = 0; if (has_target_p) { - ops[opno] = mips_prepare_builtin_target (icode, opno, target); + target = mips_prepare_builtin_target (icode, opno, target); + ops[opno] = target; opno++; } -- cgit v1.1