[Bug middle-end/51460] [4.6/4.7 Regression] Struct with two boost mutexes allocated on the heap inside of a while loop causes compiler segfault
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 8 11:10:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list