This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Dump cgraph before merging
- From: Basile Starynkevitch <basile at starynkevitch dot net>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 04 Jul 2010 17:25:52 +0200
- Subject: Re: Dump cgraph before merging
- References: <20100704132635.GB22746@kam.mff.cuni.cz>
- Reply-to: basile at starynkevitch dot net
On Sun, 2010-07-04 at 15:26 +0200, Jan Hubicka wrote:
> Hi,
> while working on Mozilla LTO problems I found useful to have dump of callgraph
> before merging is done.
> + if (cgraph_dump_file)
> + {
> + if (cgraph_dump_file)
> + fprintf (cgraph_dump_file, "Before merging:\n");
Why do you test twice cgraph_dump_file?
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} ***