public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Guenther <richard.guenther@gmail.com>
To: Basile Starynkevitch <basile@starynkevitch.net>
Cc: gcc@gcc.gnu.org
Subject: Re: role of dump_file notably for/in plugins?
Date: Wed, 31 Aug 2011 14:28:00 -0000	[thread overview]
Message-ID: <CAFiYyc3Qe1VKyOSrrjRfxyrRraSNpQKDS9ChqB_4pa0rTc3KOw@mail.gmail.com> (raw)
In-Reply-To: <20110831142447.GD26845@ours.starynkevitch.net>

On Wed, Aug 31, 2011 at 4:24 PM, Basile Starynkevitch
<basile@starynkevitch.net> wrote:
> Hello Folks
>
> What is the intended role of the dump_file [the one known in tree-pass.h
> near line 101] for plugins?
>
> May plugins print their arbitrary things (e.g. their own debug printing)
> inside? I believe that yea, but I am not sure.
>
> May plugins set the dump_file variable (for instance to stderr). I believe
> that no, but I am not sure.
>
> Can dump_file be used outside passes (e.g. in the initialization part of a
> plugin)? I believe that no, but I hesitate.

Look at how it is set.. That answers all of your questions.

Richard.

> Cheers.
>
>
> --
> Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
> email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
> 8, rue de la Faiencerie, 92340 Bourg La Reine, France
> *** opinions {are only mines, sont seulement les miennes} ***
>

  reply	other threads:[~2011-08-31 14:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-31 14:25 Basile Starynkevitch
2011-08-31 14:28 ` Richard Guenther [this message]
2011-08-31 14:47   ` David Malcolm
2011-09-01 15:18 ` Pierre Vittet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFiYyc3Qe1VKyOSrrjRfxyrRraSNpQKDS9ChqB_4pa0rTc3KOw@mail.gmail.com \
    --to=richard.guenther@gmail.com \
    --cc=basile@starynkevitch.net \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).