diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2015-08-04 11:54:08 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2015-08-04 11:54:08 +0200 |
commit | eadc745824115fe09e7e3b12ffbf6db2c64fee2f (patch) | |
tree | 3542971ddeda8f8a9773a1c64e98697919d2f009 | |
parent | 0cfff2a1d966f7c5eebd6b94b214101ca67c6895 (diff) | |
download | gcc-eadc745824115fe09e7e3b12ffbf6db2c64fee2f.zip gcc-eadc745824115fe09e7e3b12ffbf6db2c64fee2f.tar.gz gcc-eadc745824115fe09e7e3b12ffbf6db2c64fee2f.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b04e54a..bad96b6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. @@ -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 <polacek@redhat.com> diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 128c5af..1b0cade 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. */ |