From ff7c859760d5caf49e39b8f848925fd0e997d9f3 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Tue, 3 May 2005 14:14:19 +0000 Subject: 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 --- gcc/tree-ssa-ccp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-ssa-ccp.c') 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. */ -- cgit v1.1