re PR target/68410 (config/nios2/nios2.c: 4123: duplicates in expression)
authorSandra Loosemore <sandra@codesourcery.com>
Wed, 18 Nov 2015 19:45:47 +0000 (14:45 -0500)
committerSandra Loosemore <sandra@gcc.gnu.org>
Wed, 18 Nov 2015 19:45:47 +0000 (14:45 -0500)
2015-11-18  Sandra Loosemore  <sandra@codesourcery.com>

PR target/68410
* config/nios2/nios2.c (cdx_and_immed): Remove duplicate tests
from || expression.

From-SVN: r230563

gcc/ChangeLog
gcc/config/nios2/nios2.c

index 920ae72789cdb6199e1be4ffb9b02b42ff1dbaae..9249f14d74ae3c68599e61ce83c88f0053ed5fc1 100644 (file)
@@ -1,3 +1,9 @@
+2015-11-18  Sandra Loosemore  <sandra@codesourcery.com>
+
+       PR target/68410
+       * config/nios2/nios2.c (cdx_and_immed): Remove duplicate tests
+       from || expression.
+
 2015-11-18  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
 
        * config/avr/avr-mcus.def: Add new avr4 devices atmega48pb and
index 3fd2d0144a00f0e8e01f9a8c20b9351d3672202d..f9daa3fedeb7e1fd0d78decc7810b7ea2d118f53 100644 (file)
@@ -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);
     }