re PR tree-optimization/38180 (CCP does not propagate through constant initializers)
2009-03-28 Richard Guenther <rguenther@suse.de> PR tree-optimization/38180 * tree-ssa-ccp.c (get_default_value): Simplify. (likely_value): Likewise. (surely_varying_stmt_p): Properly handle VOP case. (ccp_initialize): Likewise. (ccp_fold): Handle propagating through *&. (fold_const_aggregate_ref): Also handle decls. * gcc.dg/tree-ssa/ssa-ccp-24.c: New testcase. From-SVN: r145184
Showing
gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-24.c
0 → 100644
Please
register
or
sign in
to comment