summaryrefslogtreecommitdiffstats
path: root/gcc/tree-ssa-ccp.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-03 14:14:19 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-03 14:14:19 +0000
commit40bcfc866a4002f4f6cd9b37e4f463515211d217 (patch)
tree25633c8cacdc951af53b1dd07949989253db282a /gcc/tree-ssa-ccp.c
parent887865da0bcab5c60cd4acb466f9634845f3a7d3 (diff)
downloadppe42-gcc-40bcfc866a4002f4f6cd9b37e4f463515211d217.tar.gz
ppe42-gcc-40bcfc866a4002f4f6cd9b37e4f463515211d217.zip
* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Use STRIP_TYPE_NOPS
rather than STRIP_NOPS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99158 138bc75d-0d04-0410-961f-82ee72b054a4
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 14b5a3d9464..2d16957a120 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. */
OpenPOWER on IntegriCloud