-
- Downloads
re PR tree-optimization/36945 (PRE/SCCVN do not handle aggregate function arguments correctly)
2008-07-29 Richard Guenther <rguenther@suse.de> PR tree-optimization/36945 * tree-ssa-sccvn.h (copy_reference_ops_from_ref): Declare. * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Export. Record invariant addresses un-decomposed. (copy_reference_ops_from_call): Record reference call arguments properly. Simplify. * tree-ssa-pre.c (create_component_ref_by_pieces_1): New helper split out from ... (create_component_ref_by_pieces): ... here. Simplify. Prepare for recursive invocation for call arguments. (create_expression_by_pieces): Adjust call to create_component_ref_by_pieces. (compute_avail): Process operand 2 of reference ops. * gcc.dg/tree-ssa/ssa-pre-18.c: New testcase. From-SVN: r138257
Showing
- gcc/ChangeLog 16 additions, 0 deletionsgcc/ChangeLog
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-18.c 21 additions, 0 deletionsgcc/testsuite/gcc.dg/tree-ssa/ssa-pre-18.c
- gcc/tree-ssa-pre.c 69 additions, 82 deletionsgcc/tree-ssa-pre.c
- gcc/tree-ssa-sccvn.c 15 additions, 27 deletionsgcc/tree-ssa-sccvn.c
- gcc/tree-ssa-sccvn.h 1 addition, 0 deletionsgcc/tree-ssa-sccvn.h
Loading
Please register or sign in to comment