In r14-5566-g841008d3966c0f I added a new ctor for feasibility_state, but failed to call bitmap_clear on m_snodes_visited.
Fixed thusly. Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. Verified fix manually with valgrind on gcc.dg/analyzer/data-model-20.c. Pushed to trunk as r14-6434-g6008b80b25d718. gcc/analyzer/ChangeLog: PR analyzer/112955 * engine.cc (feasibility_state::feasibility_state): Initialize m_snodes_visited. --- gcc/analyzer/engine.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/analyzer/engine.cc b/gcc/analyzer/engine.cc index 1f930a21eb37..03750815939a 100644 --- a/gcc/analyzer/engine.cc +++ b/gcc/analyzer/engine.cc @@ -4870,6 +4870,7 @@ feasibility_state::feasibility_state (const region_model &model, : m_model (model), m_snodes_visited (sg.m_nodes.length ()) { + bitmap_clear (m_snodes_visited); } feasibility_state & -- 2.26.3