[gnu.g++.bug] Libg++.1.25.0 test13 fails with g++ 1.27/Sun3/SunOS3.5 ??

dsb@Rational.COM (David S. Bakin) (10/17/88)

tests work except test13, which dumps core (segmentation violation) after
doing the intSLList and intSLListTrav tests, just as it is starting the
intSLStack test.  Has anyone seen this or have any ideas on what I've done
wrong?  Thanks!  -- Dave
-- 
----------------------------------------------------------
Dave Bakin				    (408) 496-3600
c/o Rational; 3320 Scott Blvd.; Santa Clara, CA 95054-3197
Internet:  dsb@rational.com	 Uucp:  ...!uunet!igor!dsb

zhao@wiener.usc.edu (10/20/88)

This patch fixes the problem in a SUN3/60 OS3.4.

*** g++-proto/SLList.h.proto	Wed Oct 19 14:40:18 1988
--- g++-proto/SLList.h.proto~	Tue Oct 18 10:34:09 1988
***************
*** 291,295 ****
  
  
! inline <T>SLStack::<T>SLStack() : () {}
  inline <T>SLStack::<T>SLStack(<T>SLStack& a) : (a) {}
  inline <T>SLStack::~<T>SLStack() {}
--- 291,295 ----
  
  
! inline <T>SLStack::<T>SLStack() {}
  inline <T>SLStack::<T>SLStack(<T>SLStack& a) : (a) {}
  inline <T>SLStack::~<T>SLStack() {}
***************
*** 324,328 ****
  }
  
! inline <T>SLQueue::<T>SLQueue() : () {}
  inline <T>SLQueue::<T>SLQueue(<T>SLQueue& a) : (a) {}
  inline <T>SLQueue::~<T>SLQueue() {}
--- 324,328 ----
  }
  
! inline <T>SLQueue::<T>SLQueue() {}
  inline <T>SLQueue::<T>SLQueue(<T>SLQueue& a) : (a) {}
  inline <T>SLQueue::~<T>SLQueue() {}
Ken	- zhao%wiener.usc.edu@oberon.usc.edu