From 4b4cfdd5e1104810953caefe50729f87e79239ec Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sun, 24 Jul 2011 12:50:41 +0000 Subject: utils2.c (build_binary_op): Do not mark the left operand as addressable. * gcc-interface/utils2.c (build_binary_op) : Do not mark the left operand as addressable. From-SVN: r176713 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/gcc-interface/utils2.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/ada') diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index eeca1f3..01ab4e6 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,5 +1,10 @@ 2011-07-24 Eric Botcazou + * gcc-interface/utils2.c (build_binary_op) : Do not mark the + left operand as addressable. + +2011-07-24 Eric Botcazou + * gcc-interface/gigi.h (build_function_stub): Remove. (build_return_expr): Likewise. (convert_vms_descriptor): Declare. diff --git a/gcc/ada/gcc-interface/utils2.c b/gcc/ada/gcc-interface/utils2.c index db89429..5f3f03a 100644 --- a/gcc/ada/gcc-interface/utils2.c +++ b/gcc/ada/gcc-interface/utils2.c @@ -721,11 +721,6 @@ build_binary_op (enum tree_code op_code, tree result_type, unneeded sign conversions when sizetype is wider than integer. */ right_operand = convert (right_base_type, 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; break; -- cgit v1.1