[Bug libstdc++/27162] [4.1 regression] search_n uses == when it should use binary_pred

2006-04-14 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-04-14 17:11 --- Gosh, this is a regression. Thanks Doug, I will apply your patch ASAP. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/27162] [4.1 regression] search_n uses == when it should use binary_pred

2006-04-14 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2006-04-14 17:38 --- Fixed for 4.1.1. -- pcarlini at suse dot de changed: What|Removed |Added Status|NEW

[Bug libstdc++/27168] __basic_file::xsgetn does not deal well with pipes

2006-04-14 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-04-14 19:31 --- Howard, this has been fixed in FSF 4.0.1, indeed, I cannot reproduce with anything >= 4.0.1. Thanks, anyway. *** This bug has been marked as a duplicate of 21286 *** -- pcarlini at suse dot de chan

[Bug libstdc++/21286] [3.4/4.0/4.1 Regression] filebuf::xsgetn vs pipes

2006-04-14 Thread pcarlini at suse dot de
--- Comment #25 from pcarlini at suse dot de 2006-04-14 19:31 --- *** Bug 27168 has been marked as a duplicate of this bug. *** -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/6702] requirements for wchar_t support are too restrictive for Solaris pre 10

2006-04-16 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added Target Milestone|--- |4.1.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6702

[Bug libstdc++/21172] potential integer overflow error in STL heap functions

2006-04-17 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2006-04-17 18:35 --- Working on a fix. -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned

[Bug libstdc++/6257] C-library symbols enter global namespace

2006-04-18 Thread pcarlini at suse dot de
--- Comment #18 from pcarlini at suse dot de 2006-04-18 17:49 --- Probably this PR should be suspended, while waiting for the resolution of DR 456: http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#456 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6257

[Bug libstdc++/27198] fstream is using fopen underly for 32b applictaions

2006-04-19 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2006-04-19 08:59 --- Indeed, not a libstdc++ bug. And, by the way, per the Standard (27.8.1.3/2) we have to use fopen. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/26424] tr1/unordered vs 64-bit machines

2006-04-19 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2006-04-19 10:49 --- Working on it. -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at

[Bug libstdc++/6257] C-library symbols enter global namespace

2006-04-19 Thread pcarlini at suse dot de
--- Comment #20 from pcarlini at suse dot de 2006-04-19 11:19 --- (In reply to comment #19) > (In reply to comment #18) > > Probably this PR should be suspended, while waiting for the resolution of DR > > 456: > > > > http://www.open-std.org/jtc1/sc22/wg

[Bug libstdc++/6257] C-library symbols enter global namespace

2006-04-19 Thread pcarlini at suse dot de
--- Comment #22 from pcarlini at suse dot de 2006-04-19 11:44 --- (In reply to comment #21) > I meant proposing it as a choice, with a flag like -fclean-global-namespace > (better than a macro since it probably means changing the include path and > redefining a few macros), wh

[Bug libstdc++/27198] fstream is using fopen underly for 32b applictaions

2006-04-19 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2006-04-19 16:38 --- (In reply to comment #3) > 1. > Agree, I wouldn't call it a bug. But I don't know where to put it other than > here. Maybe report it to Sun? > 2. > I don't think you have to use fope

[Bug libstdc++/27217] Error in stl_bvector.h

2006-04-19 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-04-19 18:24 --- *** This bug has been marked as a duplicate of 16605 *** -- pcarlini at suse dot de changed: What|Removed |Added

[Bug c++/16605] expected unqualified-id before '(' token in vector.tcc and stl_bvector.h

2006-04-19 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2006-04-19 18:24 --- *** Bug 27217 has been marked as a duplicate of this bug. *** -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/26424] tr1/unordered vs 64-bit machines

2006-04-19 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added Target Milestone|--- |4.1.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26424

[Bug libstdc++/26974] hidden declarations klobber STL

2006-04-20 Thread pcarlini at suse dot de
--- Comment #10 from pcarlini at suse dot de 2006-04-20 09:10 --- Well, two comments: first, I cannot reproduce with current mainline. Second, frankly, if the implication of the issue is that in the entire implementation of we cannot use operator, only to allow the user to write

[Bug libstdc++/26974] hidden declarations klobber STL

2006-04-20 Thread pcarlini at suse dot de
--- Comment #11 from pcarlini at suse dot de 2006-04-20 09:25 --- (In reply to comment #10) Before closing this I'm only curious to > know why mainline is fine, maybe, simply, ADL was too zelant here? Any > language > lawyer ki

[Bug libstdc++/26974] hidden declarations klobber STL

2006-04-20 Thread pcarlini at suse dot de
--- Comment #14 from pcarlini at suse dot de 2006-04-20 09:37 --- (In reply to comment #12) > I don't think that the problem is in the STL. The STL can be as tricky as it > wants, including use of operator,(). It should not be possible for the actual > operator,()s I decl

[Bug libstdc++/26974] hidden declarations klobber STL

2006-04-20 Thread pcarlini at suse dot de
--- Comment #15 from pcarlini at suse dot de 2006-04-20 09:56 --- We can easily get a reference to the user defined operator, from the mainline compiler with: template int operator,(int i, T t) { return i; } #include int main() { std::vector v; std::fill_n(v.begin(), 0, 1

[Bug libstdc++/26974] hidden declarations klobber STL

2006-04-20 Thread pcarlini at suse dot de
--- Comment #18 from pcarlini at suse dot de 2006-04-20 10:20 --- This is a self-contained example: namespace mine1 { struct mini_iter { mini_iter(int* p) : _M_current(p) { } int& operator*() const { return *_M_current; } mini_iter&

[Bug libstdc++/26974] hidden declarations klobber STL

2006-04-20 Thread pcarlini at suse dot de
--- Comment #19 from pcarlini at suse dot de 2006-04-20 11:32 --- By the way, I think I mentioned incorrectly ADL, which, in this specific case, doesn't seem involved. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26974

[Bug libstdc++/26974] hidden declarations klobber STL

2006-04-20 Thread pcarlini at suse dot de
--- Comment #20 from pcarlini at suse dot de 2006-04-20 11:56 --- Everything considered, I don't think there is something to fix here, either in the compiler (and all the other compilers I tried bahaves the same of current g++ on Comment #18, irrespective of the position o

[Bug libstdc++/26974] hidden declarations klobber STL

2006-04-20 Thread pcarlini at suse dot de
--- Comment #21 from pcarlini at suse dot de 2006-04-20 11:59 --- (In reply to comment #20) std::fill_n could be made more robust > restricting the second template argument, Scratch this bit, sorry. -- http://gcc.gnu.org/bugzi

[Bug libstdc++/26974] hidden declarations klobber STL

2006-04-20 Thread pcarlini at suse dot de
--- Comment #27 from pcarlini at suse dot de 2006-04-20 23:10 --- (In reply to comment #23) > Actually I don't see why the comma operator can be overridden in C++ (yes this > I am raising a question about why the standards says it can). Well, if we are talking about ra

[Bug libstdc++/26974] hidden declarations klobber STL

2006-04-21 Thread pcarlini at suse dot de
--- Comment #29 from pcarlini at suse dot de 2006-04-21 10:08 --- (In reply to comment #28) > Wolfgang: the whitspace paper is wonderful! Actually, Bjorne explains why > operator,() was overloadable in the Rationale. What about this: http://public.research.att.c

[Bug libstdc++/26424] tr1/unordered vs 64-bit machines

2006-04-21 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2006-04-21 17:51 --- Fixed for 4.1.1. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug c++/27255] Including C++ header declares C functions

2006-04-22 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-04-22 08:27 --- (In reply to comment #2) > I don't think this is the same bug. I can see how including would > declare printf but why in the world would including or > declare printf, strcpy, etc. This is definitely

[Bug libstdc++/27256] gcc 4.1.0 compilation fails on RHEL AS 3 (x86_64)

2006-04-22 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-04-22 08:31 --- (In reply to comment #0) > /usr/bin/ld: BFD 2.14.90.0.4 20030523 internal error, aborting at > ../../bfd/elf64-x86-64.c line 2067 in elf64_x86_64_relocate_section > > /usr/bin/ld: Please report this bug. &

[Bug libstdc++/26974] hidden declarations klobber STL

2006-04-22 Thread pcarlini at suse dot de
--- Comment #30 from pcarlini at suse dot de 2006-04-22 08:47 --- (In reply to comment #28) > template > _OutputIterator > fill_n(_OutputIterator __first, _Size __n, const _Tp& __value) > { > for (; __n > 0; --__n, ++__first) [snip] > template > void f(W*

[Bug libstdc++/27256] gcc 4.1.0 compilation fails on RHEL AS 3 (x86_64)

2006-04-22 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2006-04-22 08:50 --- (In reply to comment #1) > > /usr/bin/ld: BFD 2.14.90.0.4 20030523 internal error, aborting at > As you can see, the problem affects ld, the linker, *not* libstdc++. Please > report it to the binutils project.

[Bug libstdc++/27258] ostrstream objects and static variables cause segmentation fault

2006-04-22 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2006-04-22 19:47 --- Indeed, I can't reproduce with 4.1.0, 4.1.1 pre and mainline. The problem seems still present in 4_0-branch, but frankly I have no idea which patch fixed it, I seriously doubt was a libstdc++ patch... --

[Bug libstdc++/27258] ostrstream objects and static variables cause segmentation fault

2006-04-22 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-04-22 19:54 --- *** This bug has been marked as a duplicate of 26123 *** -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/26123] [3.4/4.0 Regression] Segmentation fault in constructor of std::ostream::sentry::sentry

2006-04-22 Thread pcarlini at suse dot de
--- Comment #12 from pcarlini at suse dot de 2006-04-22 19:54 --- *** Bug 27258 has been marked as a duplicate of this bug. *** -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/27199] ptrdiff_t and size_t outside of namespace std

2006-04-23 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-04-23 14:55 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|UNCONFIRMED

[Bug libstdc++/17373] std::set::erase(const_iterator) doesn't output error on compilation

2006-04-25 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2006-04-25 13:33 --- Yes, we are simply implementing the resolution of DR 103: set<>::iterator is a constant iterator type -- pcarlini at suse dot de changed: What|Removed

[Bug libstdc++/26513] make_exports.pl hardcoded to build nm

2006-04-26 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2006-04-26 20:01 --- I think the correct Target Milestone is 4.1.1... -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/27340] valarray uses __cos which may conflict with libm functions

2006-04-28 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-04-28 20:01 --- (In reply to comment #2) > (In reply to comment #1) > > Both libc and libstdc++ are considered part of the implementation which > > means > > both are valid to use this name space. > > Which

[Bug libstdc++/27340] valarray uses __cos which may conflict with libm functions

2006-04-28 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2006-04-28 21:18 --- (In reply to comment #4) > Convinced of what? Of course convinced that before renaming and re-renaming (endlessly, in principle) we should really give some serious tought to those issues, figure out what we are trying

[Bug libstdc++/27404] Rope iterators are not InputIterators

2006-05-02 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-05-03 00:08 --- Hi Doug. I'm afraid that, everything considered - in particular the status of the rope extension - we have to go with the ugly approach: things like _Rope_iterator::_M_check() actively do change the o

[Bug libstdc++/6702] requirements for wchar_t support are too restrictive for Solaris pre 10

2006-05-03 Thread pcarlini at suse dot de
--- Comment #28 from pcarlini at suse dot de 2006-05-03 17:01 --- Fixed (again), for 4.1.1. -- pcarlini at suse dot de changed: What|Removed |Added Status

[Bug libstdc++/27404] Rope iterators are not InputIterators

2006-05-04 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-05-04 09:40 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|NEW

[Bug libstdc++/7979] OpenUNIX8/Unixware stage 3 failing in eh_alloc.cc

2006-05-04 Thread pcarlini at suse dot de
--- Comment #15 from pcarlini at suse dot de 2006-05-04 18:34 --- To be honest, I dont't think this is, strictly speaking, a *bug*, because this target is not officially supported. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7979

[Bug libstdc++/27530] Possible memory leak in std::vector::reserve() or std::vector::clear()

2006-05-10 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2006-05-10 12:10 --- Chris is right. Certainly we are not aware of any problem in that code, in particular the 3.4.5 version, very close to the original HP/SGI code and very well tested from that point of view (at least). Please provide a self

[Bug libstdc++/27569] Problem with mixing wcout and cout

2006-05-12 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-05-12 08:51 --- This is a (new) feature, not a bug, see libstdc++/11705 and in general search about stream orientation in the C standard (C99, 7.19.2). In a nutshell you cannot mix byte oriented and wide oriented I/O. For now, due to the

[Bug libstdc++/27579] no warning for the non-standard integral overloads of math functions

2006-05-12 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-05-12 20:12 --- Really, there is no point in trying to implement that warning, given the ongoing developments of the C++ standard: those overloads are already part of the current draft of the next ("C++0x") standard (and are a

[Bug libstdc++/27615] memory leak with libstdc++ set

2006-05-15 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-05-15 16:46 --- Missing a self-contained, simple testcase, certainly we cannot even imagine debugging this... Also, please use valgrind, very reliable and commonly available. -- pcarlini at suse dot de changed: What

[Bug libstdc++/24715] __exchange_and_add is called too much

2006-05-15 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2006-05-15 16:49 --- Feedback not forthcoming. -- pcarlini at suse dot de changed: What|Removed |Added Status

[Bug libstdc++/27530] Possible memory leak in std::vector::reserve() or std::vector::clear()

2006-05-15 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2006-05-15 16:58 --- (In reply to comment #4) > I have tried to create simple test case (about 200 rows) where I tried to > reproduce key code fragments. In simple test case leak not reproduced. But I > have easy reproduced it with v

[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

2006-05-17 Thread pcarlini at suse dot de
--- Comment #16 from pcarlini at suse dot de 2006-05-17 10:09 --- Ok. Hopefully, before the end of this week I can tell you something trustworthy about binary compatibility. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196

[Bug libstdc++/27641] libpthread.a core dump with STL

2006-05-18 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-05-18 13:46 --- I can confirm that mainline, 4_1-branch, 4_0-branch and stock 4.0.2 are fine together with glibc2.3.6 (-static of course). -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/24704] __gnu_cxx::__exchange_and_add is called even for single threaded applications

2006-05-21 Thread pcarlini at suse dot de
--- Comment #21 from pcarlini at suse dot de 2006-05-21 20:28 --- Yes, the audit trail doesn't say that in private mail with Loren we agreed that for now we only want to minimally take into account --enable-threads, that is exploit the __GTHREADS macro, consistently with other par

[Bug libstdc++/24692] Atomic builtins for v3

2006-05-21 Thread pcarlini at suse dot de
--- Comment #13 from pcarlini at suse dot de 2006-05-21 20:30 --- No news about this one. Frankly, since x86-* would not benefit in any way, I consider the work low priority. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24692

[Bug libstdc++/24692] Atomic builtins for v3

2006-05-21 Thread pcarlini at suse dot de
--- Comment #15 from pcarlini at suse dot de 2006-05-21 20:36 --- (In reply to comment #14) > (In reply to comment #13) > > No news about this one. Frankly, since x86-* would not benefit in any way, I > > consider the work low priority. > > What about x86_64 Of co

[Bug libstdc++/24704] __gnu_cxx::__exchange_and_add is called even for single threaded applications

2006-05-22 Thread pcarlini at suse dot de
--- Comment #23 from pcarlini at suse dot de 2006-05-22 08:54 --- (In reply to comment #22) > This would mean a non-enable-threads compiled libstdc++ would skip the calls > to __exchange_and_add? Of course the idea would not be that of "skipping", instead provid

[Bug libstdc++/24704] __gnu_cxx::__exchange_and_add is called even for single threaded applications

2006-05-22 Thread pcarlini at suse dot de
--- Comment #24 from pcarlini at suse dot de 2006-05-22 14:44 --- Humm, maybe I (we ;) was wrong: I'm doing some benchmarks and it looks like the cost of checking __gthread_active_p() compared to that of an atomic operation is very small... More later. -- http://gcc.gn

[Bug libstdc++/24704] __gnu_cxx::__exchange_and_add is called even for single threaded applications

2006-05-24 Thread pcarlini at suse dot de
--- Comment #26 from pcarlini at suse dot de 2006-05-24 16:41 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug c++/27762] map of valarray produces bad output

2006-05-24 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2006-05-24 20:48 --- This triggers undefined behavior: map::operator[] inserts a default-constructed (i.e., empty) valarray (C++03, 23.3.1.2), then valarray::operator= has undefined behavior because the argument has 3 elements and *this zero

[Bug libstdc++/24692] Atomic builtins for v3

2006-05-29 Thread pcarlini at suse dot de
--- Comment #17 from pcarlini at suse dot de 2006-05-29 20:01 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/27867] compile error in repeated application of valarray<>::operator==

2006-06-01 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-06-01 21:37 --- Gaby, I had a quick look and maybe it's just a trivial typo: the below seems right to me and certainly fixes the testcase without regressions... What do you think? Thanks, Paolo. // Index: include

[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.

2006-06-02 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-06-02 19:59 --- Before confirming this we have to understand why we have got rather good testresults for 4.1.1 on mips-sgi-irix6.5: http://gcc.gnu.org/ml/gcc-testresults/2006-05/msg01513.html Eric, any idea? -- pcarlini at suse

[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.

2006-06-02 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-06-02 20:43 --- (In reply to comment #2) > > Eric, any idea? > > I presume the message means that the functions are not declared in ? Yes, that for sure ;) but we have got specific configure tests for that and, at the momen

[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.

2006-06-02 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2006-06-02 21:21 --- (In reply to comment #4) > Created an attachment (id=11582) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11582&action=view) [edit] > ./mips-sgi-irix6.5/libstdc++-v3/config.log I do not understand:

[Bug libstdc++/27867] compile error in repeated application of valarray<>::operator==

2006-06-04 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2006-06-04 09:34 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|NEW

[Bug libstdc++/24712] [4.0 Regression] Accidental ABI change between 4.0.1 and 4.0.2?

2006-06-04 Thread pcarlini at suse dot de
--- Comment #8 from pcarlini at suse dot de 2006-06-05 06:18 --- Agreed, let's close it. -- pcarlini at suse dot de changed: What|Removed |Added S

[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.

2006-06-05 Thread pcarlini at suse dot de
--- Comment #9 from pcarlini at suse dot de 2006-06-05 14:13 --- To be honest, the whole situation makes no sense to me (taking also into account that, in general, wcsftime and wcstok are not special, no C99-only, and all the other names in the very same cwchar header are not giving

[Bug libstdc++/27904] operator>> to floating point variable does not support "inf", "infinity", or "nan"

2006-06-05 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-06-05 21:16 --- This is not a bug, but standard conforming behavior (have a look to the specific sections in 22_locale describing in detail the parsing steps and the grammar). I'm even more sure about that because we discussed the

[Bug libstdc++/27904] operator>> to floating point variable does not support "inf", "infinity", or "nan"

2006-06-05 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-06-05 22:45 --- (In reply to comment #2) > I don't think I agree. > 27.6.1.2.2 says: > As in the case of the inserters, these extractors depend on the locale’s > num_get<> (22.2.2.1) object to perform > parsing

[Bug libstdc++/27904] operator>> to floating point variable does not support "inf", "infinity", or "nan"

2006-06-05 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2006-06-05 22:55 --- (In reply to comment #5) > Please take this up with the C++ standard since the two stages conflict. 22.2.2.1.2, p5, does not conflict, because the conversion using %g happens at the end of Stage 2, p9, on the accumula

[Bug libstdc++/27904] operator>> to floating point variable does not support "inf", "infinity", or "nan"

2006-06-05 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2006-06-05 22:57 --- (In reply to comment #6) > (In reply to comment #5) > > Please take this up with the C++ standard since the two stages conflict. > > 22.2.2.1.2, p5, does not conflict, because the conversion using %g happe

[Bug libstdc++/27904] operator>> to floating point variable does not support "inf", "infinity", or "nan"

2006-06-05 Thread pcarlini at suse dot de
--- Comment #9 from pcarlini at suse dot de 2006-06-05 23:15 --- (In reply to comment #8) > (In reply to comment #6) > It just seems bogus that it says %g and then goes on to do something different > and not to take into account that strlod is allowed more than just the >

[Bug libstdc++/27904] operator>> to floating point variable does not support "inf", "infinity", or "nan"

2006-06-06 Thread pcarlini at suse dot de
--- Comment #11 from pcarlini at suse dot de 2006-06-06 09:36 --- (In reply to comment #10) > In C90 strtod does not say anything specifically about "inf", etc. However, > it > does say: > > In other than the "C" locale, additional implementation-d

[Bug libstdc++/27904] operator>> to floating point variable does not support "inf", "infinity", or "nan"

2006-06-06 Thread pcarlini at suse dot de
--- Comment #13 from pcarlini at suse dot de 2006-06-06 22:36 --- (In reply to comment #12) > At this web page: > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1568.htm > > I see this: > > "The formatted input functions shall support th

[Bug libstdc++/27931] valgrind reports memleak when std::ios:sync_with_stdio(false)

2006-06-07 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2006-06-08 00:54 --- This behavior started with this patch: http://gcc.gnu.org/ml/libstdc++/2003-04/msg00427.html when Pétur pointed out that, according to 27.3, p2, the standard streams are *never* destroyed. The ""leak"

[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.

2006-06-09 Thread pcarlini at suse dot de
--- Comment #11 from pcarlini at suse dot de 2006-06-09 19:42 --- For comparison, please provide the config.log of that snapshot. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878

[Bug libstdc++/26970] -O3 -Wformat=2 complains about floats written to ostream

2006-06-11 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2006-06-11 17:35 --- I have a patch in testing... -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo

[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.

2006-06-12 Thread pcarlini at suse dot de
--- Comment #14 from pcarlini at suse dot de 2006-06-12 22:40 --- Ok, thanks for your feedback. Indeed, the only possible "cause" of the problem are the finer grained checks for wchar_t vs C99 wchar_t proper functions which are now carried out after my 2006-05-03 commit (w

[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.

2006-06-12 Thread pcarlini at suse dot de
--- Comment #15 from pcarlini at suse dot de 2006-06-12 23:22 --- Not waiting anymore, but not confirmed either: we badly need an independent confirmation. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/26970] -O3 -Wformat=2 complains about floats written to ostream

2006-06-12 Thread pcarlini at suse dot de
--- Comment #9 from pcarlini at suse dot de 2006-06-12 23:25 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2006-06-16 13:30 --- Humm, this is really puzzling because nothing non-trivial changed in that area going from 3.4 to 4.0 and of course we all run daily the testsuite which includes quite a few codecvt tests, which always pass smoothly. Could

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2006-06-16 13:49 --- (In reply to comment #3) > The source is UTF-8 encoded, and it assumes you are going to run it in a UTF-8 > locale. That might possibly be why you get odd output. > > The expected output should be as per

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2006-06-16 14:09 --- (In reply to comment #6) > en_US.UTF-8 doesn't work for me either. Nope, I just tried with "en_GB.utf8" too and everything works fine in that case too. Everything considered I don't think it's

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
--- Comment #8 from pcarlini at suse dot de 2006-06-16 14:13 --- (In reply to comment #5) > All that run time is spent in __gconv_transform_utf8_internal, before it blows > up. Isn't that a strong hint that something is wrong with the glibc? When you say 3.4 is fine you

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
--- Comment #9 from pcarlini at suse dot de 2006-06-16 14:17 --- Humm, wait, I'm working on x86-linux! Is that target specific? You can see the issue only on powerpc? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28059

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
--- Comment #11 from pcarlini at suse dot de 2006-06-16 14:20 --- (In reply to comment #9) > Humm, wait, I'm working on x86-linux! Is that target specific? You can see the > issue only on powerpc? Well, in any case all the codecvt regression tests are always fine on

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
--- Comment #13 from pcarlini at suse dot de 2006-06-16 14:46 --- (In reply to comment #12) > So 4.0, 4.1 and 4.2 snapshot are OK on i486-linux-gnu but not on > powerpc-linux-gnu. Ok. In the meanwhile I double checked and in fact **nothing** changed in the codecvt code going fr

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
--- Comment #14 from pcarlini at suse dot de 2006-06-16 15:09 --- Can you please tell us the glibc version? I'm asking because I can reproduce on an ia64 machine using glibc2.4, not on all the glibc2.3.6 systems I tried. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28059

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
--- Comment #16 from pcarlini at suse dot de 2006-06-16 16:56 --- I can reproduce on an ia64-linux machine, so confirmed, but very puzzling on the libstdc++-v3 side, no idea how/when we are going to deal with it... -- pcarlini at suse dot de changed: What|Removed

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
--- Comment #18 from pcarlini at suse dot de 2006-06-16 17:03 --- Ok, thanks. Before I go completely crazy, let's agree at least about a detail: let's not involve 3.3: in 3.3 codecvt is known to be broken and was completely rewritten for 3.4. -- http://gcc.gnu.or

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de |dot org

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|pcarlini at suse dot de |unassigned at gcc dot gnu

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-16 Thread pcarlini at suse dot de
--- Comment #21 from pcarlini at suse dot de 2006-06-16 18:10 --- Ok, I think I have something meaningful to say: seems definitely a miscompilation. I would ask you to check on powerpc-linux what I'm seeing on ia64-linux: the problem goes away if I both build libstdc++ and event

[Bug libstdc++/27984] [4.2 Regression] installed libstdc++ testing broken

2006-06-17 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bkoz at redhat dot com |dot org

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-18 Thread pcarlini at suse dot de
--- Comment #25 from pcarlini at suse dot de 2006-06-18 09:35 --- (In reply to comment #24) > terminate called after throwing an instance of 'std::runtime_error' > what(): locale::facet::_S_create_c_locale name not valid This is the standard throw which happens whe

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-18 Thread pcarlini at suse dot de
--- Comment #27 from pcarlini at suse dot de 2006-06-18 10:03 --- (In reply to comment #26) > Thiemo Seufer diagnosed this as a problem with the testcases: mbstate_t needs > explictly initialising to all-bits-zero with memset. After doing this > > std::memset(&

[Bug libstdc++/28059] codecvt locale facet is broken (reproducible crash)

2006-06-18 Thread pcarlini at suse dot de
--- Comment #28 from pcarlini at suse dot de 2006-06-18 10:13 --- Correction, our testcases are already fine, zero_state does the job... Anyway... -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/28080] header dependencies

2006-06-19 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-06-19 09:29 --- Ok, let's see what we can do... -- pcarlini at suse dot de changed: What|Removed |

[Bug libstdc++/28080] header dependencies

2006-06-19 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2006-06-19 18:05 --- (In reply to comment #4) > Wow, fast reply! I hope you're successful :-) Maybe you could look at > STLPort 5.x, AFAIK it's "more" efficient in this case. It also has > other nice features lik

[Bug libstdc++/28103] std::operator<<(ostream&, string) sets badbit instead of failbit on failure

2006-06-20 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-06-20 19:09 --- Thanks Martin. -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at

[Bug c++/28138] New: ext/pb_ds/example/basic_map.cc, etc fail: unaligned accesses at compile time

2006-06-22 Thread pcarlini at suse dot de
Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pcarlini at suse dot de GCC host triplet: ia64-linux http://gcc.gnu.org

[Bug libstdc++/28103] std::operator<<(ostream&, string) sets badbit instead of failbit on failure

2006-06-22 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2006-06-22 16:10 --- Basing on posts to the LWG reflector + private converstation, it seems likely that the standard is moving to the behavior which is currently implemented by libstdc++, relatively to badbit vs failbit. Therefore, for now I&#

  1   2   3   4   5   6   7   8   9   10   >