http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51460
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-08 10:58:54 UTC --- For the reduced testcase we recurse endlessly through /* If there is non-abnormal path leaving e->src, predict edge using predictor. Otherwise we need to look for paths leading to e->src. */ if (found) predict_edge_def (e, pred, taken); else predict_paths_for_bb (e->src, e->src, pred, taken); instead. That recursion is new in 4.6. I think it wants to recurse not to e->src but get_immediate_dominator (CDI_DOMINATORS, cur) (outside of the loop?) Caused by rev. 161691, thus Honza.