[Bug middle-end/89737] [9 Regression] ICE in set_even_probabilities at predict.c:893 since r267485
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 19 17:09:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89737
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Mar 19 17:08:28 2019
New Revision: 269804
URL: https://gcc.gnu.org/viewcvs?rev=269804&root=gcc&view=rev
Log:
Fix set of even probabilities (PR middle-end/89737).
2019-03-19 Martin Liska <mliska@suse.cz>
PR middle-end/89737
* predict.c (combine_predictions_for_bb): Empty likely_edges and
unlikely_edges if there's an edge that belongs to both these sets.
2019-03-19 Martin Liska <mliska@suse.cz>
PR middle-end/89737
* gcc.dg/pr89737.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr89737.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/predict.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list