[Bug tree-optimization/56478] [4.8 Regression] ICE: Floating point exception in tree_estimate_probability

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 8 14:41:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56478

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-03-08 14:41:20 UTC ---
Author: mpolacek
Date: Fri Mar  8 14:41:14 2013
New Revision: 196547

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196547
Log:
PR tree-optimization/56478
* predict.c (is_comparison_with_loop_invariant_p): Change the 
type of loop_step to tree.
(predict_loops): Adjust.
(predict_iv_comparison): Perform the computations on double_ints.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr56478.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/predict.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list