From 732910b9c53b72ae93ef74e22cb9b35c9f69ed83 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 26 Jul 2001 16:47:15 -0700 Subject: simplify-rtx.c (avoid_constant_pool_reference): Export. * simplify-rtx.c (avoid_constant_pool_reference): Export. * rtl.h (avoid_constant_pool_reference): Declare it. * dwarf2out.c (add_location_or_const_value_attribute): Use it. (add_const_value_attribute): Use add_AT_unsigned for unsigned values. From-SVN: r44411 --- gcc/simplify-rtx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/simplify-rtx.c') diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 1961f19..1a6f306 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -99,7 +99,6 @@ Boston, MA 02111-1307, USA. */ static rtx simplify_plus_minus PARAMS ((enum rtx_code, enum machine_mode, rtx, rtx)); static void check_fold_consts PARAMS ((PTR)); -static rtx avoid_constant_pool_reference PARAMS ((rtx)); /* Make a binary operation by properly ordering the operands and seeing if the expression folds. */ @@ -138,7 +137,7 @@ simplify_gen_binary (code, mode, op0, op1) /* If X is a MEM referencing the constant pool, return the real value. Otherwise return X. */ -static rtx +rtx avoid_constant_pool_reference (x) rtx x; { -- cgit v1.1