This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

V3 PATCH for GCC-3.0.1: Fix PR 3981



Mark,

  This patch fixes bug #3981 which is also a regression over 2.95.x
OK for branch?

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com
	
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/ChangeLog,v
retrieving revision 1.452.2.140
diff -p -r1.452.2.140 ChangeLog
*** ChangeLog	2001/07/31 19:33:57	1.452.2.140
--- ChangeLog	2001/08/10 10:32:25
***************
*** 1,3 ****
--- 1,8 ----
+ 2001-08-10   Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de
+ 
+ 	* include/bits/std_complex.h (complex<long double>::operator*=,
+ 	complex<long double>::operator/=): Fix thinko.
+ 
  2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
  
  	* src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
Index: include/bits/std_complex.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/std_complex.h,v
retrieving revision 1.15.4.2
diff -p -r1.15.4.2 std_complex.h
*** std_complex.h	2001/05/31 12:41:46	1.15.4.2
--- std_complex.h	2001/08/10 10:32:28
*************** namespace std
*** 930,943 ****
    inline complex<long double>&
    complex<long double>::operator*=(long double __r)
    {
!     __real__ _M_value *= __r;
      return *this;
    }
  
    inline complex<long double>&
    complex<long double>::operator/=(long double __r)
    {
!     __real__ _M_value /= __r;
      return *this;
    }
  
--- 930,943 ----
    inline complex<long double>&
    complex<long double>::operator*=(long double __r)
    {
!     _M_value *= __r;
      return *this;
    }
  
    inline complex<long double>&
    complex<long double>::operator/=(long double __r)
    {
!     _M_value /= __r;
      return *this;
    }
  


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