We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b49ca6a commit d840796Copy full SHA for d840796
cpp/ql/lib/semmle/code/cpp/controlflow/SSAUtils.qll
@@ -153,7 +153,7 @@ library class SSAHelper extends int {
153
* Modern Compiler Implementation by Andrew Appel.
154
*/
155
private predicate frontier_phi_node(StackVariable v, BasicBlock b) {
156
- exists(BasicBlock x | dominanceFrontier(x, b) and ssa_defn_rec(v, x)) and
+ exists(BasicBlock x | dominanceFrontier(pragma[only_bind_into](x), b) and ssa_defn_rec(v, x)) and
157
/* We can also eliminate those nodes where the variable is not live on any incoming edge */
158
live_at_start_of_bb(v, b)
159
}
0 commit comments