]> gcc.gnu.org Git - gcc.git/commitdiff
optabs.c (maybe_emit_sync_lock_test_and_set): Pass a null target to emit_library_call...
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 5 Dec 2011 19:24:53 +0000 (19:24 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 5 Dec 2011 19:24:53 +0000 (19:24 +0000)
gcc/
* optabs.c (maybe_emit_sync_lock_test_and_set): Pass a null target
to emit_library_call_value.
(expand_atomic_compare_and_swap): Likewise.

From-SVN: r182021

gcc/ChangeLog
gcc/optabs.c

index 3a21b74c541bf32649335bb70868d5c4040a036b..762c57f9b3ad419c649d19a810361e88a9d9fab5 100644 (file)
@@ -1,3 +1,9 @@
+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
index 4f5340e589eb8cee158c4d14b3877d84b43b671e..55cfe8c98874326915a8721a50538f377f0e3042 100644 (file)
@@ -7400,7 +7400,7 @@ maybe_emit_sync_lock_test_and_set (rtx target, rtx mem, rtx val,
          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);
        }
@@ -7637,7 +7637,7 @@ expand_atomic_compare_and_swap (rtx *ptarget_bool, rtx *ptarget_oval,
   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);
 
This page took 0.112639 seconds and 5 git commands to generate.