tree-ssa-dom.c
105 KB
-
tree-ssa-ccp.c (fold_stmt_r): DATA argument is now a pointer to a structure… · 622f91ba
tree-ssa-ccp.c (fold_stmt_r): DATA argument is now a pointer to a structure containing state rather than a... * tree-ssa-ccp.c (fold_stmt_r): DATA argument is now a pointer to a structure containing state rather than a pointer to bool. (case ARRAY_REF): New code to handle folding some array references. (case ADDR_EXPR): Note when we are processing expressions found within an ADDRE_EXPR. (fold_stmt, fold_stmt_inplace): Pass in a structure to fold_stmt_r for state variables rather than just a pointer to a boolean. * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Remove handling of constant string references. * gcc.dg/tree-ssa/foldstring-1.c: New test. From-SVN: r108519
Jeff Law committed