From: Sandra Loosemore Date: Wed, 18 Nov 2015 19:45:47 +0000 (-0500) Subject: re PR target/68410 (config/nios2/nios2.c: 4123: duplicates in expression) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=231f6e0927960bb95e8670e536888902116dd293;p=gcc.git re PR target/68410 (config/nios2/nios2.c: 4123: duplicates in expression) 2015-11-18 Sandra Loosemore PR target/68410 * config/nios2/nios2.c (cdx_and_immed): Remove duplicate tests from || expression. From-SVN: r230563 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 920ae72789c..9249f14d74a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-11-18 Sandra Loosemore + + PR target/68410 + * config/nios2/nios2.c (cdx_and_immed): Remove duplicate tests + from || expression. + 2015-11-18 Pitchumani Sivanupandi * config/avr/avr-mcus.def: Add new avr4 devices atmega48pb and diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c index 3fd2d0144a0..f9daa3fedeb 100644 --- a/gcc/config/nios2/nios2.c +++ b/gcc/config/nios2/nios2.c @@ -4120,8 +4120,8 @@ cdx_and_immed (rtx op) HOST_WIDE_INT ival = INTVAL (op); return (ival == 1 || ival == 2 || ival == 3 || ival == 4 || ival == 8 || ival == 0xf || ival == 0x10 - || ival == 0x10 || ival == 0x1f || ival == 0x20 - || ival == 0x3f || ival == 0x3f || ival == 0x7f + || ival == 0x1f || ival == 0x20 + || ival == 0x3f || ival == 0x7f || ival == 0x80 || ival == 0xff || ival == 0x7ff || ival == 0xff00 || ival == 0xffff); }