[PATCH] gcc::context creation

Richard Biener richard.guenther@gmail.com
Fri May 19 09:10:00 GMT 2017


On Thu, May 18, 2017 at 5:08 PM, Nathan Sidwell <nathan@acm.org> wrote:
> On 05/16/2017 11:26 AM, Nathan Sidwell wrote:
>>
>> This patch breaks apart the creation of the pass manager from
>> gcc::context's ctor.  This will allow us to register additional dumps
>
> ... https://gcc.gnu.org/ml/gcc-patches/2017-05/msg01295.html
>
> This patch builds upon the context creation patch (this diff includes it),
> to implement a new LANG_HOOK_REGISTER_DUMPS language hook.  I call it
> between creating the dump manager and instantiating the optimization passes.
>
> The patch then uses the hook to move the current -fdump-class-hierarchy
> option into the C++ FE entirely, removing TDI_class and associated handling
> from dumpfile and c-family/c-opts.c.  The option gets renamed to
> -fdump-lang-class in the process.
>
> Obviously -fdump-translation-unit is the next candidate, and possibly
> -fdump-tree-original.
>
>
> ok?

Ok.

Thanks,
Richard.

> nathan
>
>
> --
> Nathan Sidwell



More information about the Gcc-patches mailing list