You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a workaround to a bug that gets triggered in
dependence_graph.cpp - in the function
dep_graph_domaint::control_dependencies,
find is called on cfg_dominators_templatet::target_sett, with
an iterator parameter called "from".
It is not ensured that this iterator is from the same list
as the iterators within the dominators set, this is a problem
according to C++ Draft Standard N3960:
24.2.1
An iterator j is called reachable from an iterator i if and only if there
is a finite sequence of applications of the expression ++i that makes i == j.
If j is reachable from i, they refer to elements of the same sequence.
24.2.5
The domain of == for forward iterators is that of iterators over the same
underlying sequence.
0 commit comments