analyzer: fix sm_state_map::print
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 18 Sep 2020 21:15:50 +0000 (17:15 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Mon, 28 Sep 2020 23:49:45 +0000 (19:49 -0400)
commit53d28fd4e16f163a9bd0c323f432914804f1348a
tree894f9507fbce5cada9c80961896f3a88e70975ed
parent9042b6605c259e55378a1f0eefc24b43363bb55b
analyzer: fix sm_state_map::print

In 10fc42a8396072912e9d9d940fba25950b3fdfc5 I converted state_t from
unsigned to const state *, but missed this comparison against 0.

gcc/analyzer/ChangeLog:
* program-state.cc (sm_state_map::print): Update check
for m_global_state being the start state.
gcc/analyzer/program-state.cc