]> 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>
Fri, 25 Oct 2013 20:09:13 +0000 (13:09 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 25 Oct 2013 20:09:13 +0000 (13:09 -0700)
commiteefd5e66f4ae2c4253bbd31c17ecf573036418a1
treed9e8544453db230faab4966d94a73263ef0d621a
parent7bf6dc8c9c9a772df9240a1eeb0c6184b2553222
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: r204077
gcc/ChangeLog
gcc/optabs.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/atomic-store-6.c [new file with mode: 0644]