+2011-12-05 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * optabs.c (maybe_emit_sync_lock_test_and_set): Pass a null target
+ to emit_library_call_value.
+ (expand_atomic_compare_and_swap): Likewise.
+
2011-12-05 Vladimir Makarov <vmakarov@redhat.com>
PR other/50775
rtx addr;
addr = convert_memory_address (ptr_mode, XEXP (mem, 0));
- return emit_library_call_value (libfunc, target, LCT_NORMAL,
+ return emit_library_call_value (libfunc, NULL_RTX, LCT_NORMAL,
mode, 2, addr, ptr_mode,
val, mode);
}
if (libfunc != NULL)
{
rtx addr = convert_memory_address (ptr_mode, XEXP (mem, 0));
- target_oval = emit_library_call_value (libfunc, target_oval, LCT_NORMAL,
+ target_oval = emit_library_call_value (libfunc, NULL_RTX, LCT_NORMAL,
mode, 3, addr, ptr_mode,
expected, mode, desired, mode);