* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Use STRIP_TYPE_NOPS rather than STRIP_NOPS. Index: tree-ssa-ccp.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/tree-ssa-ccp.c,v retrieving revision 2.68 diff -c -p -r2.68 tree-ssa-ccp.c *** tree-ssa-ccp.c 3 May 2005 12:19:42 -0000 2.68 --- tree-ssa-ccp.c 3 May 2005 14:11:10 -0000 *************** maybe_fold_stmt_indirect (tree expr, tre *** 1585,1591 **** substitutions. Fold that down to one. Remove NON_LVALUE_EXPRs that are sometimes added. */ base = fold (base); ! STRIP_NOPS (base); TREE_OPERAND (expr, 0) = base; /* One possibility is that the address reduces to a string constant. */ --- 1585,1591 ---- substitutions. Fold that down to one. Remove NON_LVALUE_EXPRs that are sometimes added. */ base = fold (base); ! STRIP_TYPE_NOPS (base); TREE_OPERAND (expr, 0) = base; /* One possibility is that the address reduces to a string constant. */