aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-math-opts.c
AgeCommit message (Collapse)AuthorFilesLines
2005-08-09re PR tree-optimization/23234 (ICE in verify_flow_info())Steven Bosscher1-9/+26
gcc/ PR tree-optimization/23234 * tree-ssa-math-opts.c (place_reciprocal): New enum. (execute_cse_reciprocals_1): Replace the 'phi' argument with an argument of the new enum. (execute_cse_reciprocals): Add reciprocals for function arguments on the unique successor edge of the entry block. Update other calls to execute_cse_reciprocals_1. testsuite/ PR tree-optimization/23234 * gcc.dg/tree-ssa/pr23234.c: New test. From-SVN: r102895
2005-08-01re PR tree-optimization/23133 (recip does not factor division by function ↵Richard Guenther1-1/+11
parameter) 2005-08-01 Richard Guenther <rguenther@suse.de> PR tree-optimization/23133 * tree-ssa-math-opts.c (execute_cse_reciprocals): Walk current functions parameter decls to find defs to cse reciprocals of. From-SVN: r102628
2005-08-01re PR tree-optimization/23109 (compiler generates wrong code leading to ↵Richard Guenther1-5/+18
spurious division by zero with -funsafe-math-optimizations (instead of -ftrapping-math)) 2005-08-01 Richard Guenther <rguenther@suse.de> PR tree-optimization/23109 * tree-ssa-math-opts.c (execute_cse_reciprocals_1): If trapping math is in effect, use post-dominator information to check if we'd in any case reach a trapping point before doing the reciprocal insertion. (execute_cse_reciprocals): Compute post-dominators, if necessary. * tree-ssa-loop-im.c (determine_invariantness_stmt): RDIV expressions are invariant only if trapping math is not in effect. From-SVN: r102627
2005-06-25Update FSF address.Kelley Cook1-2/+2
From-SVN: r101317
2005-05-17add tree-ssa-math-opts.c for realPaolo Bonzini1-0/+164
From-SVN: r99828