public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* role of dump_file notably for/in plugins?
@ 2011-08-31 14:25 Basile Starynkevitch
  2011-08-31 14:28 ` Richard Guenther
  2011-09-01 15:18 ` Pierre Vittet
  0 siblings, 2 replies; 4+ messages in thread
From: Basile Starynkevitch @ 2011-08-31 14:25 UTC (permalink / raw)
  To: gcc

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.

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} ***

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-01 15:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-31 14:25 role of dump_file notably for/in plugins? Basile Starynkevitch
2011-08-31 14:28 ` Richard Guenther
2011-08-31 14:47   ` David Malcolm
2011-09-01 15:18 ` Pierre Vittet

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).