aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-ccp.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenth@gcc.gnu.org>2005-05-03 14:14:19 +0000
committerJeff Law <law@gcc.gnu.org>2005-05-03 08:14:19 -0600
commitff7c859760d5caf49e39b8f848925fd0e997d9f3 (patch)
tree25633c8cacdc951af53b1dd07949989253db282a /gcc/tree-ssa-ccp.c
parent6d34654c1db34a15ee8a3cc555ad0a9b78b5d4f7 (diff)
downloadgcc-ff7c859760d5caf49e39b8f848925fd0e997d9f3.zip
gcc-ff7c859760d5caf49e39b8f848925fd0e997d9f3.tar.gz
gcc-ff7c859760d5caf49e39b8f848925fd0e997d9f3.tar.bz2
tree-ssa-ccp.c (maybe_fold_stmt_indirect): Use STRIP_TYPE_NOPS rather than STRIP_NOPS.
* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Use STRIP_TYPE_NOPS rather than STRIP_NOPS. From-SVN: r99158
Diffstat (limited to 'gcc/tree-ssa-ccp.c')
-rw-r--r--gcc/tree-ssa-ccp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c
index 14b5a3d..2d16957 100644
--- a/gcc/tree-ssa-ccp.c
+++ b/gcc/tree-ssa-ccp.c
@@ -1585,7 +1585,7 @@ maybe_fold_stmt_indirect (tree expr, tree base, tree offset)
substitutions. Fold that down to one. Remove NON_LVALUE_EXPRs that
are sometimes added. */
base = fold (base);
- STRIP_NOPS (base);
+ STRIP_TYPE_NOPS (base);
TREE_OPERAND (expr, 0) = base;
/* One possibility is that the address reduces to a string constant. */