This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: dumpfile cleanup
- 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>
- Date: Thu, 26 Apr 2018 16:06:51 +0200
- Subject: Re: dumpfile cleanup
- References: <a5f184cd-23d1-d075-37c9-0f6ab578adeb@acm.org>
On Thu, Apr 26, 2018 at 2:00 PM, Nathan Sidwell <nathan@acm.org> wrote:
> I wanted to add '-' as a synonym for stdout in the dumping machinery. But
> this bit of cleanup's needed first. We check the special stdout/stderr
> names in 3 different places -- that's crying out for a worker function. We
> also check those streams by name before determining whether to fclose. It
> seems more straight forwards to just compare to stdin & stdout themselves.
>
> This patch does that cleanup, and the next patch will add the '-'
> functionality. I've been using this on the modules branch for some time
> now.
>
> ok for trunk?
OK.
Richard.
>
> nathan
> --
> Nathan Sidwell