]> git.ipfire.org Git - thirdparty/gcc.git/commit
analyzer: fix uninitialized bitmap [PR112955]
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 11 Dec 2023 21:18:56 +0000 (16:18 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Mon, 11 Dec 2023 21:18:56 +0000 (16:18 -0500)
commit6008b80b25d71827fb26ce49f49aae02b645bb12
tree4cb9e142d810a0674f756eebad27185148755a62
parenta14d247f339454ef9068d24e64eeaeef282fec95
analyzer: fix uninitialized bitmap [PR112955]

In r14-5566-g841008d3966c0f I added a new ctor for
feasibility_state, but failed to call bitmap_clear
on m_snodes_visited.

Fixed thusly.

gcc/analyzer/ChangeLog:
PR analyzer/112955
* engine.cc (feasibility_state::feasibility_state): Initialize
m_snodes_visited.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/analyzer/engine.cc