This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc speedup patch
- To: drepper at cygnus dot com (Ulrich Drepper)
- Subject: Re: gcc speedup patch
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 08 Dec 1998 00:38:28 -0700
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <r2emqi8j5r.fsf@happy.cygnus.com>you write:
> Hi,
>
> Is it ok to install the appended patch? It should speed up the
> compiler itself on platforms with stdio implementations which are by
> default thread safe (such as Linux).
>
> --
> ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
> Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
> Cygnus Solutions `--' drepper at cygnus.com `------------------------
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1998-12-02 Ulrich Drepper <drepper@cygnus.com>
>
> * configure.in: Test for availability of putc_unlocked, fputc_unlocked,
> and fputs_unlocked.
> * system.h: If the *_unlocked functions are available use them
> instead of the locked counterparts by defining macros.
> * config.in: Regenerated.
I've installed this patch. Though I am rather skeptical of any real
improvements we will see from such changes. The only time I/O from the
compiler is on the critical path as far as I know is when we're doing
debugging dumps like -dap.
jeff