https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70168
--- Comment #4 from Ulrich Weigand <uweigand at gcc dot gnu.org> --- Author: uweigand Date: Thu Mar 10 23:58:44 2016 New Revision: 234126 URL: https://gcc.gnu.org/viewcvs?rev=234126&root=gcc&view=rev Log: PR target/70168 * config/rs6000/rs6000.c (rs6000_expand_atomic_compare_and_swap): Handle overlapping retval and newval. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c