re PR tree-optimization/21574 (store_ccp doesn't see through a store.)
PR tree-optimization/21574 * tree-ssa-ccp.c (likely_value): If the right hand side is a constant, return CONSTANT. (ccp_lattice_meet): Use operand_equal_p instead of simple_cst_equal. (ccp_fold, visit_assignment): Likewise. (evaluate_stmt): Handle UNDEFINED and UNKNOWN_VAL the same way. From-SVN: r103206
Showing
gcc/testsuite/gcc.dg/tree-ssa/pr21574.c
0 → 100644
Please
register
or
sign in
to comment