[Patch] The comparison in a compare exchange should not take place in VOIDmode
commitf8940d4a097beb106a325878010e5467f5c6f6d5
authorJames Greenhalgh <james.greenhalgh@arm.com>
Fri, 5 Jun 2015 08:47:44 +0000 (5 08:47 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Fri, 5 Jun 2015 08:47:44 +0000 (5 08:47 +0000)
tree82d9c2575620e32072c7edef398aa1b818a54acb
parentedf1fd6defa3ed02f1079376b0eecd51cbcb3e44
[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.

From-SVN: r224148
gcc/ChangeLog
gcc/builtins.c