Re: [PATCH 1/3] Fix -fopt-info for plugin passes

2018-10-04 Thread Richard Biener
On Fri, 28 Sep 2018, David Malcolm wrote: > Attempts to dump via -fopt-info from a plugin pass fail, due > to the dfi->alt_state for such passes never being set. > > This is because the -fopt-info options were being set up per-pass > during option-parsing (via gcc::dump_manager::opt_info_enable_p

[PATCH 1/3] Fix -fopt-info for plugin passes

2018-09-28 Thread David Malcolm
Attempts to dump via -fopt-info from a plugin pass fail, due to the dfi->alt_state for such passes never being set. This is because the -fopt-info options were being set up per-pass during option-parsing (via gcc::dump_manager::opt_info_enable_passes), but this data was not retained or used it for