analyzer: fix -fdump-analyzer
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 24 Feb 2020 22:02:11 +0000 (17:02 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Tue, 25 Feb 2020 01:49:50 +0000 (20:49 -0500)
commitf2ca2088bc393a7d3d8eef4ff85cbe949db3cde0
treeb7c96986c6eac094e3807976948e5b794cb487ed
parent04c71707e03fa36fda935b614e03833d1fed16b2
analyzer: fix -fdump-analyzer

This patch fixes a bug with -fdump-analyzer, which is meant to write
purely a dumpfile, but was erroneously sending part of the dump to
stderr.

gcc/analyzer/ChangeLog:
* engine.cc (exploded_graph::get_or_create_node): Dump the
program_state to the pp, rather than to stderr.
gcc/analyzer/ChangeLog
gcc/analyzer/engine.cc