gcc/
PR tree-optimization/21031 * tree-ssa-forwprop.c (ssa_name_defined_by_comparison_p): New. (forward_propagate_into_cond_1): Call it. Forward propagate integer-integer casts into COND_EXPRs. testsuite/ PR tree-optimization/21031 * gcc.dg/tree-ssa/pr21031.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98199 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 7 additions, 0 deletionsgcc/ChangeLog
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/tree-ssa/pr21031.c 20 additions, 0 deletionsgcc/testsuite/gcc.dg/tree-ssa/pr21031.c
- gcc/tree-ssa-forwprop.c 23 additions, 0 deletionsgcc/tree-ssa-forwprop.c
Loading
Please register or sign in to comment