gcc speedup patch

Jeffrey A Law law@cygnus.com
Tue Dec 8 00:02:00 GMT 1998


  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



More information about the Gcc-patches mailing list