aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenth@gcc.gnu.org>2005-06-01 18:43:02 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2005-06-01 18:43:02 +0000
commit095ecc24ec1340eb0f3d1f06f5bf627001b51d32 (patch)
tree991227bc41638e17a027fb12fa3ce93c50321a30 /gcc/fold-const.c
parent82c0180d7797e3602a7069dbf5696b487be5d7d8 (diff)
downloadgcc-095ecc24ec1340eb0f3d1f06f5bf627001b51d32.zip
gcc-095ecc24ec1340eb0f3d1f06f5bf627001b51d32.tar.gz
gcc-095ecc24ec1340eb0f3d1f06f5bf627001b51d32.tar.bz2
tree.h (fold_indirect_ref_1): Export from fold-const.c.
2005-06-01 Richard Guenther <rguenth@gcc.gnu.org> * tree.h (fold_indirect_ref_1): Export from fold-const.c. * fold-const.c (fold_indirect_ref_1): No longer static. * tree-inline.c (copy_body_r): Use fold_indirect_ref_1 for folding, if possible. From-SVN: r100458
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 13984d1..ad5039b 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -11508,7 +11508,7 @@ build_fold_addr_expr (tree t)
of an indirection through OP0, or NULL_TREE if no simplification is
possible. */
-static tree
+tree
fold_indirect_ref_1 (tree type, tree op0)
{
tree sub = op0;