[Patch] The comparison in a compare exchange should not take place in VOIDmode
authorjgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jun 2015 08:47:44 +0000 (08:47 +0000)
committerjgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jun 2015 08:47:44 +0000 (08:47 +0000)
commit62589f76c4184aed77f0628313d2391e23b91548
tree82d9c2575620e32072c7edef398aa1b818a54acb
parentff6e6cb626adfc378ece611b3d35c0893071c95d
[Patch] The comparison in a compare exchange should not take place in VOIDmode

gcc/

* builtins.c (expand_builtin_atomic_compare_exchange): Call
emit_cmp_and_jump_insns with the mode of target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224148 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c