Commit 7008512d by Basile Starynkevitch Committed by Basile Starynkevitch

toplev.c (toplev_main): Move PLUGIN_FINISH invocation before diagnostic_finish.


2013-11-11  Basile Starynkevitch  <basile@starynkevitch.net>

         * toplev.c (toplev_main): Move PLUGIN_FINISH invocation before
           diagnostic_finish.

From-SVN: r204674
parent de75e25f
2013-11-11 Basile Starynkevitch <basile@starynkevitch.net>
* toplev.c (toplev_main): Move PLUGIN_FINISH invocation before
diagnostic_finish.
2013-11-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.c (arm_new_rtx_costs): Return after handling
......@@ -1968,11 +1968,13 @@ toplev_main (int argc, char **argv)
if (warningcount || errorcount || werrorcount)
print_ignored_options ();
diagnostic_finish (global_dc);
/* Invoke registered plugin callbacks if any. */
/* Invoke registered plugin callbacks if any. Some plugins could
emit some diagnostics here. */
invoke_plugin_callbacks (PLUGIN_FINISH, NULL);
diagnostic_finish (global_dc);
finalize_plugins ();
location_adhoc_data_fini (line_table);
if (seen_error () || werrorcount)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment