On 09/11/2015 01:21 AM, John David Anglin wrote:
As noted in the PR, expand_atomic_compare_and_swap can generate wrong code when 
libcalls are emitted
for the sync_compare_and_swap and the result comparison test.  This is fixed by 
emitting a move insn to copy
the result rtx of the sync_compare_and_swap libcall to target_oval instead of 
directly assigning it.
Could you provide relevant parts of the rtl dumps or (preferrably) the patch you are using to enable the libcall?


Bernd

Reply via email to