]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/58542 (Arguments of __atomic_* functions are converted in...
authorRichard Henderson <rth@gcc.gnu.org>
Thu, 24 Oct 2013 22:27:53 +0000 (15:27 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 24 Oct 2013 22:27:53 +0000 (15:27 -0700)
commit464046a62a28ddc05ca4fb64b98f18cefe5a21e6
tree387b0edb45f2da4a20ba0fc0073487e6f0d674a8
parentbdd833da13457c8f90ad08f7717dab8e7418baa1
re PR rtl-optimization/58542 (Arguments of __atomic_* functions are converted in unsigned mode)

PR rtl/58542

* optabs.c (maybe_emit_atomic_exchange): Use create_input_operand
instead of create_convert_operand_to.
(maybe_emit_sync_lock_test_and_set): Likewise.
(expand_atomic_compare_and_swap): Likewise.
(maybe_emit_compare_and_swap_exchange_loop): Don't convert_modes.

From-SVN: r204040
gcc/ChangeLog
gcc/optabs.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/atomic-store-6.c [new file with mode: 0644]