summaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-26 23:47:15 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-26 23:47:15 +0000
commitc0876b6ca704a8d0d63b3fcc75066e8469115502 (patch)
tree8034b92545d1aa23faec2e0ccf18de8061813335 /gcc/simplify-rtx.c
parent1f752dbe16fda79988a7bea4e54aa63e2c4bc67b (diff)
downloadgcc-c0876b6ca704a8d0d63b3fcc75066e8469115502.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44411 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r--gcc/simplify-rtx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index 1961f194eba..1a6f30696d5 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;
{