This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] new -fdump flag
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Nathan Sidwell <nathan at acm dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Tue, 9 May 2017 14:19:46 +0200
- Subject: Re: [PATCH] new -fdump flag
- Authentication-results: sourceware.org; auth=none
- References: <aa3baff0-0a72-9e9e-0b8b-6df40ab59dd2@acm.org>
On Tue, May 9, 2017 at 2:05 PM, Nathan Sidwell <nathan@acm.org> 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 for other front ends too.
>
> 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?)
>
> If there's a preference to hold this off until merging modules, that's fine.
> Just thought I'd float it now.
Can you please use sth else than 'front-end', specifically sth without a dash?
Maybe simply 'lang'? Why do you need a new sub-switch ('-lang')? Is this
for dumping into other dump-files from, say, langhooks?
Richard.
> nathan
> --
> Nathan Sidwell