Skip to content

Commit 0f240d6

Browse files
committed
C++: Fix join order in 'boundFlowCond'.
1 parent cd7ba7c commit 0f240d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/experimental/semmle/code/cpp/semantic/analysis/RangeAnalysisStage.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ module RangeStage<DeltaSig D, BoundSig<D> Bounds, LangSig<D> LangParam, UtilSig<
495495
SemSsaVariable v2, SemGuard guardEq, boolean eqIsTrue, D::Delta d1, D::Delta d2,
496496
D::Delta oldDelta
497497
|
498-
guardEq = semEqFlowCond(v, semSsaRead(v2, d1), d2, true, eqIsTrue) and
498+
guardEq = semEqFlowCond(v, semSsaRead(pragma[only_bind_into](v2), d1), d2, true, eqIsTrue) and
499499
result = boundFlowCond(v2, e, oldDelta, upper, testIsTrue) and
500500
// guardEq needs to control guard
501501
guardEq.directlyControls(result.getBasicBlock(), eqIsTrue) and

0 commit comments

Comments
 (0)