Patch for libstdc++-v3 cut and paste error

Steve Ellcey sje@cup.hp.com
Wed Jul 23 17:04:00 GMT 2003


> Changelog says one file, diff says another.

Woops, my cut and paste error fix had a cut and paste error in it.  The
ChangeLog is wrong and the diff right.  Here it is again with the right
ChangeLog.

Steve Ellcey
sje@cup.hp.com

2003-07-23  Steve Ellcey  <sje@cup.hp.com>

	* config/cpu/hppa/atomicity.h: Change
	_GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
	to match misc-inst.cc


*** gcc.orig/gcc/libstdc++-v3/config/cpu/hppa/atomicity.h	Wed Jul 23 08:59:17 2003
--- gcc/gcc/libstdc++-v3/config/cpu/hppa/atomicity.h	Wed Jul 23 08:59:39 2003
*************** __Atomicity_lock<__inst>::_S_atomicity_l
*** 34,42 ****
  
  /* Because of the lack of weak support when using the hpux
     som linker, we explicitly instantiate the atomicity lock
!    in src/misc-inst.cc when _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK
     is defined.  */
! #ifndef _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK
  template volatile int __Atomicity_lock<0>::_S_atomicity_lock;
  #endif
  
--- 34,42 ----
  
  /* Because of the lack of weak support when using the hpux
     som linker, we explicitly instantiate the atomicity lock
!    in src/misc-inst.cc when _GLIBCXX_INST_ATOMICITY_LOCK
     is defined.  */
! #ifndef _GLIBCXX_INST_ATOMICITY_LOCK
  template volatile int __Atomicity_lock<0>::_S_atomicity_lock;
  #endif
  



More information about the Gcc-patches mailing list