Re: [PATCH] new -fdump flag

2017-05-16 Thread Jason Merrill
On Tue, May 9, 2017 at 8:05 AM, Nathan Sidwell wrote: > I'm also prepared to remove the -fdump-translation-unit dumper, which is a > completely inscrutable c++ only dump, that I think is well past its > best-before date. (Jason?) I think that's left over from previous modulesish work by Gaby and

Re: [PATCH] new -fdump flag

2017-05-09 Thread Richard Biener
On Tue, May 9, 2017 at 2:05 PM, Nathan Sidwell wrote: > This patch adds a new '-fdump-front-end' flag and associated dump machinery. > I use it on the modules branch, as that's sufficiently complex to need a > dumper. The dump file is unnumbered with a '.fe' suffix. Perhaps it will > be useful f

[PATCH] new -fdump flag

2017-05-09 Thread Nathan Sidwell
This patch adds a new '-fdump-front-end' flag and associated dump machinery. I use it on the modules branch, as that's sufficiently complex to need a dumper. The dump file is unnumbered with a '.fe' suffix. Perhaps it will be useful for other front ends too. I'm also prepared to remove the