This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] Fix libstdc++/11990
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Nathan Myers <ncm at cantrip dot org>, gerald at pfeifer dot com
- Date: Fri, 29 Aug 2003 19:44:53 +0200
- Subject: [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;