Commit 7c53a140 by Uros Bizjak

i386.c (ix86_decompose_address): Reject all but register operands and DImode…

i386.c (ix86_decompose_address): Reject all but register operands and DImode hard registers in index.

	* config/i386/i386.c (ix86_decompose_address): Reject all but
	register operands and DImode hard registers in index.

From-SVN: r176565
parent 7f3ff782
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> 2011-07-21 Kai Tietz <ktietz@redhat.com>
* fold-const.c (fold_unary_loc): Preserve indirect * fold-const.c (fold_unary_loc): Preserve indirect
comparison cast to none-boolean type. comparison cast to none-boolean type.
* tree-ssa.c (useless_type_conversion_p): Preserve cast * tree-ssa.c (useless_type_conversion_p): Preserve cast
from/to boolean-type. from/to boolean-type.
* gimplify.c (gimple_boolify): Handle boolification * gimplify.c (gimple_boolify): Handle boolification of comparisons.
of comparisons. (gimplify_expr): Boolifiy non aggregate-typed comparisons.
(gimplify_expr): Boolifiy non aggregate-typed
comparisons.
* tree-cfg.c (verify_gimple_comparison): Check result * tree-cfg.c (verify_gimple_comparison): Check result
type of comparison expression. type of comparison expression.
* tree-ssa-forwprop.c (forward_propagate_comparison): * tree-ssa-forwprop.c (forward_propagate_comparison): Adjust test
Adjust test of condition result and disallow type-cast of condition result and disallow type-cast sinking into comparison.
sinking into comparison.
2011-07-21 Richard Guenther <rguenther@suse.de> 2011-07-21 Richard Guenther <rguenther@suse.de>
...@@ -31,7 +33,7 @@ ...@@ -31,7 +33,7 @@
in last to first, or first to last order. in last to first, or first to last order.
2011-07-21 Georg-Johann Lay <avr@gjlay.de> 2011-07-21 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.c (avr_rtx_costs): Set cost of CONST, LABEL_REF to 0. * 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> 2011-07-20 H.J. Lu <hongjiu.lu@intel.com>
......
...@@ -11203,7 +11203,9 @@ ix86_decompose_address (rtx addr, struct ix86_address *out) ...@@ -11203,7 +11203,9 @@ ix86_decompose_address (rtx addr, struct ix86_address *out)
; ;
/* Allow only subregs of DImode hard regs. */ /* Allow only subregs of DImode hard regs. */
else if (GET_CODE (index) == SUBREG 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; return 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment