From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32128 invoked by alias); 31 Aug 2011 14:28:31 -0000 Received: (qmail 32058 invoked by uid 22791); 31 Aug 2011 14:28:31 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-yi0-f47.google.com (HELO mail-yi0-f47.google.com) (209.85.218.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 31 Aug 2011 14:28:16 +0000 Received: by yia28 with SMTP id 28so632829yia.20 for ; Wed, 31 Aug 2011 07:28:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.69.3 with SMTP id r3mr356530yba.223.1314800895134; Wed, 31 Aug 2011 07:28:15 -0700 (PDT) Received: by 10.151.84.14 with HTTP; Wed, 31 Aug 2011 07:28:15 -0700 (PDT) In-Reply-To: <20110831142447.GD26845@ours.starynkevitch.net> References: <20110831142447.GD26845@ours.starynkevitch.net> Date: Wed, 31 Aug 2011 14:28:00 -0000 Message-ID: Subject: Re: role of dump_file notably for/in plugins? From: Richard Guenther To: Basile Starynkevitch Cc: gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-08/txt/msg00453.txt.bz2 On Wed, Aug 31, 2011 at 4:24 PM, Basile Starynkevitch 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 =A0 =A0 =A0 =A0 http://starynkevitch.net/Basile/ > email: basilestarynkevitchnet mobile: +33 6 8501 2359 > 8, rue de la Faiencerie, 92340 Bourg La Reine, France > *** opinions {are only mines, sont seulement les miennes} *** >