Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: m_binspr is assigned twice successively on line 102 and 103. #4632

Closed
ustchcs-bugfinder opened this issue Aug 13, 2020 · 0 comments
Closed

Comments

@ustchcs-bugfinder
Copy link

m_binspr = false; // prevent adventurous users from trying feature that isn't ready

m_binspr is assigned twice successively on line 102 and 103.

        m_local_search_dbg_flips = p.local_search_dbg_flips();
        m_binspr            = p.binspr();     //Line 102
        m_binspr            = false;     // prevent adventurous users from trying feature that isn't ready  //Line 103
        m_anf_simplify      = p.anf();
        m_anf_delay         = p.anf_delay();
        m_anf_exlin         = p.anf_exlin();
        m_cut_simplify      = p.cut();
        m_cut_delay         = p.cut_delay();

Reported by: USTCHCS Analysis Toolsuite Bugfinder
(bugfinder-2.7: A variable should not be assigned values twice successively.)

NikolajBjorner added a commit that referenced this issue Aug 13, 2020
Signed-off-by: Nikolaj Bjorner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants