re PR target/70168 (Wrong code generation in __sync_val_compare_and_swap on PowerPC)
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 10 Mar 2016 23:58:44 +0000 (23:58 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Thu, 10 Mar 2016 23:58:44 +0000 (23:58 +0000)
commit8287dbce7bcb7c6b1a0aa45f05b8c94a25a7c723
treed9aa09cc218ec8431a7dacf1cbd0e7f9df0c44d3
parentf6c1032d03cd45af05f427a3b33bc12e88c44c3a
re PR target/70168 (Wrong code generation in __sync_val_compare_and_swap on PowerPC)

PR target/70168
* config/rs6000/rs6000.c (rs6000_expand_atomic_compare_and_swap):
Handle overlapping retval and newval.

From-SVN: r234126
gcc/ChangeLog
gcc/config/rs6000/rs6000.c