i386.c (ix86_expand_int_movcc): Check result of ix86_expand_int_movcc as boolean.
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 4 Aug 2015 09:54:08 +0000 (11:54 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 4 Aug 2015 09:54:08 +0000 (11:54 +0200)
* config/i386/i386.c (ix86_expand_int_movcc): Check result of
ix86_expand_int_movcc as boolean.

From-SVN: r226555

gcc/ChangeLog
gcc/config/i386/i386.c

index b04e54a2f36f0a47d73bb8e9d818b4af2da52e6c..bad96b6d4961efe831417af919d7a392d5e0d6e9 100644 (file)
@@ -1,3 +1,8 @@
+2015-08-04  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (ix86_expand_int_movcc): Check result of
+       ix86_expand_int_movcc as boolean.
+
 2015-08-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * config/aarch64/aarch64.opt (aarch64_arch_string): Delete.
        (arm_option_override): Set arm_arch6kz.
        * config/arm/arm.h (BASE_ARCH_6ZK): Rename to BASE_ARCH_6KZ.
        * config/arm/driver-arm.c: Add comment to "armv6zk" entry.
-        * doc/invoke.texi: Replace "armv6zk" with "armv6kz".
+       * doc/invoke.texi: Replace "armv6zk" with "armv6kz".
 
 2015-07-27  Marek Polacek  <polacek@redhat.com>
 
index 128c5af702ff0d83cfe3eb7532380e652ca569e5..1b0cade9ff6ac3ec2f9b927841b09157b33263b6 100644 (file)
@@ -21245,7 +21245,7 @@ ix86_expand_int_movcc (rtx operands[])
       operands[0] = tmp;
 
       /* Recurse to get the constant loaded.  */
-      if (ix86_expand_int_movcc (operands) == 0)
+      if (!ix86_expand_int_movcc (operands))
         return false;
 
       /* Mask in the interesting variable.  */