[Bug tree-optimization/17560] [4.0 Regression] Infinite recursion in tree-scalar-evolution with -Os
rakdver at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 8 20:17:00 GMT 2004
------- Additional Comments From rakdver at gcc dot gnu dot org 2004-10-08 20:17 -------
Then this should be the proper fix. I will commit it as obvious once it
passes regtesting.
Index: predict.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/predict.c,v
retrieving revision 1.128
diff -c -3 -p -r1.128 predict.c
*** predict.c 28 Sep 2004 07:59:48 -0000 1.128
--- predict.c 8 Oct 2004 20:15:44 -0000
*************** tree_estimate_probability (void)
*** 1300,1305 ****
--- 1300,1306 ----
tree_bb_level_predictions ();
+ mark_irreducible_loops (&loops_info);
predict_loops (&loops_info, false);
FOR_EACH_BB (bb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17560
More information about the Gcc-bugs
mailing list