re PR tree-optimization/21658 (CCP does not propagate ADDR_EXPR far enough.)
gcc/ PR tree-optimization/21658 * tree-ssa-ccp.c (ccp_fold): Call fold_binary instead of fold_binary_to_constant. Likewise, call fold_unary instead of fold_unary_to_constant. testsuite/ PR tree-optimization/21658 * gcc.dg/tree-ssa/pr21658.c: New. From-SVN: r100266
Showing
gcc/testsuite/gcc.dg/tree-ssa/pr21658.c
0 → 100644
Please
register
or
sign in
to comment