This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: move default_tree_printer out of toplev.c


On 25 April 2012 10:27, Richard Guenther <rguenther@suse.de> wrote:
> On Tue, 24 Apr 2012, Manuel López-Ibáñez wrote:
>
>> It seems an obvious cleanup to me.
>>
>> OK?
>>
>> 2012-04-24 ?Manuel López-Ibáñez ?<manu@gcc.gnu.org>
>>
>> gcc/
>> ? ? ? * tree-pretty-print.h (default_tree_printer): Do not declare.
>> ? ? ? * tree-diagnostic.c: Include tree-pretty-print.h, tree-pass.h and
>> ? ? ? intl.h.
>> ? ? ? (default_tree_diagnostic_starter): Make static.
>> ? ? ? (default_tree_printer): Move to here. Make static.
>> ? ? ? (tree_diagnostics_defaults): New.
>> ? ? ? * tree-diagnostic.h (default_tree_diagnostic_starter): Do not declare.
>> ? ? ? * tree.c (free_lang_data): Use tree_diagnostics_defaults.
>
> Bogus changelog - you changed general_init.

Not sure what you mean. I changed tree.c (free_lang_data) and toplev.c
(general_init). to use tree_diagnostics_defaults. What should I have
said in the Changelog?

Cheers,

Manuel.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]