On Wed, 2020-01-08 at 04:02 -0500, David Malcolm wrote:
> Needs review.
>
> Changed in v5:
> - update ChangeLog path
> - updated copyright years to include 2020
>
> Changed in v4:
> - Remove include of gcc-plugin.h, reworking includes accordingly.
> - Use TV_ANALYZER rather than TV_NONE for the pass
> - Add a gate function to the pass
> - Move the check for #if ENABLE_ANALYZER from the driver to the
> pass's execute vfunc
> - Expose the pass via make_pass_analyzer, rather than via the plugin
> pass registration mechanism
>
> Changed in v3:
> - added to passes.def and tree-pass.h
>
> gcc/analyzer/ChangeLog:
> * analyzer-pass.cc: New file.
>
> gcc/ChangeLog:
> * passes.def (pass_analyzer): Add before
> pass_ipa_whole_program_visibility.
> * tree-pass.h (make_pass_analyzer): New decl.
OK
jeff
>