This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc speedup patch



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]