summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wconversion-integer.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-13 08:57:20 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-13 08:57:20 +0000
commitdddf503682e4d834e9a8cbbd280a0e60586b5b98 (patch)
treeb8a064a0f6159ca9ca85a74e1d5e760278c524c7 /gcc/testsuite/gcc.dg/Wconversion-integer.c
parent6fa0f9fe374faabd1a96b4407c3112401ec9fd87 (diff)
downloadgcc-dddf503682e4d834e9a8cbbd280a0e60586b5b98.tar.gz
2008-08-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/15255 * tree-ssa-reassoc.c (linearize_expr_tree): Declare. (struct oecount_s): New struct and VEC types. (cvec): New global. (oecount_hash): New function. (oecount_eq): Likewise. (oecount_cmp): Likewise. (zero_one_operation): New function. (build_and_add_sum): Likewise. (undistribute_ops_list): Perform un-distribution of multiplication and division on the chain of summands. (should_break_up_subtract): Also break up subtracts for factors. (reassociate_bb): Delete dead visited statements. Call undistribute_ops_list. Re-sort and optimize if it did something. * passes.c (init_optimization_passes): Move DSE before reassociation. * tree-ssa-loop-niter.c (stmt_dominates_stmt_p): Correctly handle PHI nodes. * gcc.dg/tree-ssa/reassoc-14.c: New testcase. * gcc.dg/tree-ssa/reassoc-15.c: Likewise. * gcc.dg/tree-ssa/reassoc-16.c: Likewise. * gcc.dg/torture/reassoc-1.c: Likewise. * gcc.dg/tree-ssa/recip-2.c: Adjust. * gcc.dg/tree-ssa/recip-6.c: Likewise. * gcc.dg/tree-ssa/recip-7.c: Likewise. * gfortran.dg/reassoc_4.f: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139048 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/Wconversion-integer.c')
0 files changed, 0 insertions, 0 deletions