diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/expression.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/expression.cc index 3298417e5a..0ac7a61ccf 100644 --- a/Ghidra/Features/Decompiler/src/decompile/cpp/expression.cc +++ b/Ghidra/Features/Decompiler/src/decompile/cpp/expression.cc @@ -412,7 +412,7 @@ static int4 functionalEqualityLevel0(Varnode *vn1,Varnode *vn2) } return -1; } - if (vn2->isConstant()) return -1; + if (vn1->isFree() || vn2->isFree()) return -1; return 1; }