[committed] analyzer: fixes to -fdump-analyzer-state-purge

2022-03-17 Thread David Malcolm via Gcc-patches
Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. Pushed to trunk as r12-7695-g79e210f0c8e1fa gcc/analyzer/ChangeLog: * state-purge.cc (state_purge_annotator::add_node_annotations): Avoid duplicate before-supernode annotations when returning from an interproced

[committed] analyzer: fixes to -fdump-analyzer-state-purge for phi nodes

2021-07-21 Thread David Malcolm via Gcc-patches
Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. Pushed to trunk as 6bbad96cd44774bc199b256dbf4260b25b87c7db. gcc/analyzer/ChangeLog: * state-purge.cc (state_purge_annotator::add_node_annotations): Rather than erroneously always using the NULL in-edge, determine