[PATCH] gcc::context creation

Nathan Sidwell nathan@acm.org
Wed May 24 11:47:00 GMT 2017


On 05/24/2017 06:57 AM, Jakub Jelinek wrote:

> So, first question, where should we order the -fdump-lang-* dumps, shall
> they go before .original/.gimple/.nested, or in between .original and
> .gimple/.nested, or after those 3 (the last option looks just wrong to me)?

I think the lang dumps should come first.

> Shall the 3 standard dumps be registered like any others?

I think they should move to the new dynamic registration.
Should 'original' become a lang dump?

> Shall the number of lang dumps affect the numbering, i.e. is it desirable
> that with C and C++ you get different numbers for *t.cfg dump, or *t.gimple?
> In many cases it would be better if the numbering was consistent between C
> and C++.

I'm ambivalent on this.  I can see why consistency might be desirable 
though.  I'd be fine with making the lang dumps unnumbered to achieve 
that -- I don't see an obvious need for a language to have two dumps of 
the same name.

nathan

-- 
Nathan Sidwell



More information about the Gcc-patches mailing list