i386.c (ix86_decompose_address): Reject all but register operands and DImode hard...
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 21 Jul 2011 13:03:02 +0000 (15:03 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 21 Jul 2011 13:03:02 +0000 (15:03 +0200)
* config/i386/i386.c (ix86_decompose_address): Reject all but
register operands and DImode hard registers in index.

From-SVN: r176565

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

index 44f962adee0cdb9b50f05d05b4737e57838510a4..a1aa3eb9299c74058abc4fba474068e7eb9ff834 100644 (file)
@@ -1,18 +1,20 @@
+2011-07-21  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (ix86_decompose_address): Reject all but
+       register operands and DImode hard registers in index.
+
 2011-07-21  Kai Tietz  <ktietz@redhat.com>
 
        * fold-const.c (fold_unary_loc): Preserve indirect
        comparison cast to none-boolean type.
        * tree-ssa.c (useless_type_conversion_p): Preserve cast
        from/to boolean-type.
-       * gimplify.c (gimple_boolify): Handle boolification
-       of comparisons.
-       (gimplify_expr): Boolifiy non aggregate-typed
-       comparisons.
+       * gimplify.c (gimple_boolify): Handle boolification of comparisons.
+       (gimplify_expr): Boolifiy non aggregate-typed comparisons.
        * tree-cfg.c (verify_gimple_comparison): Check result
        type of comparison expression.
-       * tree-ssa-forwprop.c (forward_propagate_comparison):
-       Adjust test of condition result and disallow type-cast
-       sinking into comparison.
+       * tree-ssa-forwprop.c (forward_propagate_comparison): Adjust test
+       of condition result and disallow type-cast sinking into comparison.
 
 2011-07-21  Richard Guenther  <rguenther@suse.de>
 
@@ -31,7 +33,7 @@
        in last to first, or first to last order.
 
 2011-07-21  Georg-Johann Lay  <avr@gjlay.de>
-       
+
        * config/avr/avr.c (avr_rtx_costs): Set cost of CONST, LABEL_REF to 0.
 
 2011-07-20  H.J. Lu  <hongjiu.lu@intel.com>
index 403f3127b1ef37c92b7438ded0c2757a42010848..da6c888ed464d91940f87ae5321116af43a514fc 100644 (file)
@@ -11203,7 +11203,9 @@ ix86_decompose_address (rtx addr, struct ix86_address *out)
        ;
       /* Allow only subregs of DImode hard regs.  */
       else if (GET_CODE (index) == SUBREG
-              && !register_no_elim_operand (SUBREG_REG (index), DImode))
+              && register_no_elim_operand (SUBREG_REG (index), DImode))
+       ;
+      else
        return 0;
     }