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]
Other format: [Raw text]

[v3] Fix libstdc++/11990


Hi,

I have regression tested on x86-linux and committed the below, provided by Nathan.

Paolo.

///////////
2003-08-29  Nathan Myers  <ncm@cantrip.org>
	
	PR libstdc++/11990	
	* include/bits/locale_facets.tcc (__pad): delete dead code.

diff -urN libstdc++-v3-orig/include/bits/locale_facets.tcc libstdc++-v3/include/bits/locale_facets.tcc
--- libstdc++-v3-orig/include/bits/locale_facets.tcc	2003-07-18 04:27:15.000000000 +0200
+++ libstdc++-v3/include/bits/locale_facets.tcc	2003-08-29 19:05:08.000000000 +0200
@@ -2238,7 +2238,7 @@
 	    }
 	  else if (__testsign)
 	    {
-	      _Traits::eq((__news[0] = __olds[0]), __plus) ? __plus : __minus;
+	      __news[0] = __olds[0];
 	      ++__mod;
 	      ++__news;
 	      __beg = __pads;

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