Commit 4b4cfdd5 by Eric Botcazou Committed by Eric Botcazou

utils2.c (build_binary_op): Do not mark the left operand as addressable.

	* gcc-interface/utils2.c (build_binary_op) <ARRAY_REF>: Do not mark the
	left operand as addressable.

From-SVN: r176713
parent f3d34576
2011-07-24 Eric Botcazou <ebotcazou@adacore.com> 2011-07-24 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/utils2.c (build_binary_op) <ARRAY_REF>: Do not mark the
left operand as addressable.
2011-07-24 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/gigi.h (build_function_stub): Remove. * gcc-interface/gigi.h (build_function_stub): Remove.
(build_return_expr): Likewise. (build_return_expr): Likewise.
(convert_vms_descriptor): Declare. (convert_vms_descriptor): Declare.
......
...@@ -721,11 +721,6 @@ build_binary_op (enum tree_code op_code, tree result_type, ...@@ -721,11 +721,6 @@ build_binary_op (enum tree_code op_code, tree result_type,
unneeded sign conversions when sizetype is wider than integer. */ unneeded sign conversions when sizetype is wider than integer. */
right_operand = convert (right_base_type, right_operand); right_operand = convert (right_base_type, right_operand);
right_operand = convert (sizetype, right_operand); right_operand = convert (sizetype, right_operand);
if (!TREE_CONSTANT (right_operand)
|| !TREE_CONSTANT (TYPE_MIN_VALUE (right_type)))
gnat_mark_addressable (left_operand);
modulus = NULL_TREE; modulus = NULL_TREE;
break; break;
......
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