diff --git a/src/V3Broken.cpp b/src/V3Broken.cpp index 14c01d029..cc8c4e780 100644 --- a/src/V3Broken.cpp +++ b/src/V3Broken.cpp @@ -156,9 +156,9 @@ class BrokenCheckVisitor final : public VNVisitorConst { // Current CFunc, if any const AstCFunc* m_cfuncp = nullptr; // All local variables declared in current function - std::unordered_set m_localVars; + std::set m_localVars; // Variable references in current function that do not reference an in-scope local - std::unordered_map m_suspectRefs; + std::map m_suspectRefs; // Local variables declared in the scope of the current statement std::vector> m_localsStack;