From eadc745824115fe09e7e3b12ffbf6db2c64fee2f Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 4 Aug 2015 11:54:08 +0200 Subject: [PATCH] i386.c (ix86_expand_int_movcc): Check result of ix86_expand_int_movcc as boolean. * config/i386/i386.c (ix86_expand_int_movcc): Check result of ix86_expand_int_movcc as boolean. From-SVN: r226555 --- gcc/ChangeLog | 7 ++++++- gcc/config/i386/i386.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b04e54a2f36..bad96b6d496 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-08-04 Uros Bizjak + + * config/i386/i386.c (ix86_expand_int_movcc): Check result of + ix86_expand_int_movcc as boolean. + 2015-08-04 Kyrylo Tkachov * config/aarch64/aarch64.opt (aarch64_arch_string): Delete. @@ -1297,7 +1302,7 @@ (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 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 128c5af702f..1b0cade9ff6 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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. */ -- 2.30.2