[Bug c++/40407] New: Value increment problems

2009-06-10 Thread ivranos at freemail dot gr
$ -- Summary: Value increment problems Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ivranos at freemail dot gr

[Bug c++/40407] Value increment problems

2009-06-10 Thread ivranos at freemail dot gr
--- Comment #1 from ivranos at freemail dot gr 2009-06-10 20:30 --- Created an attachment (id=17976) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17976action=view) The main.ii file produced with g++ -ansi -pedantic-errors -Wall -save-temps main.cc -o foobar -- http

[Bug c++/40649] New: Class access violations

2009-07-04 Thread ivranos at freemail dot gr
Version: 4.3.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ivranos at freemail dot gr GCC host triplet: gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) - Ubuntu 9.04

[Bug c++/37673] New: Programs fail to execute with a runtime error when locale is set

2008-09-29 Thread ivranos at freemail dot gr
Product: gcc Version: 4.2.3 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ivranos at freemail dot gr http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug c++/37673] Programs fail to execute with a runtime error when locale is set

2008-09-29 Thread ivranos at freemail dot gr
--- Comment #1 from ivranos at freemail dot gr 2008-09-29 11:37 --- Created an attachment (id=16424) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16424action=view) The produced .ii file from code (2.) The produced .ii file from code (2.) compiled with the options: g++ -ansi

[Bug libstdc++/37673] Programs fail to execute with a runtime error when locale is set

2008-09-29 Thread ivranos at freemail dot gr
--- Comment #4 from ivranos at freemail dot gr 2008-09-29 13:27 --- (In reply to comment #2) Target? Named locales are supported *only* on GNU/Linux systems. Ubuntu 8.04 x86. I am learning the QT package, and for example its QString provides a toStdString() function that returns

[Bug libstdc++/37673] Programs fail to execute with a runtime error when locale is set

2008-09-29 Thread ivranos at freemail dot gr
--- Comment #6 from ivranos at freemail dot gr 2008-09-29 13:55 --- The bug reports you are mentioning combined with 35353 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35353), means that the locales implementation of GCC is a mess. I think the proper solution is to fix the locale

[Bug libstdc++/37673] Programs fail to execute with a runtime error when locale is set

2008-09-30 Thread ivranos at freemail dot gr
--- Comment #8 from ivranos at freemail dot gr 2008-09-30 09:51 --- Note: Change the encoding of your browser and email client to Greek-ISO or Unicode, so as to see the messages correctly. locale -a displays the following: [EMAIL PROTECTED]:~/Desktop/download/extract$ locale -a C

[Bug c++/37720] New: Copy constructors do not work with std::vector as they should

2008-10-02 Thread ivranos at freemail dot gr
: 4.2.3 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ivranos at freemail dot gr GCC host triplet: Ubuntu 8.04 x86 GCC target triplet: Ubuntu 8.04 x86 http

[Bug c++/37720] Copy constructors do not work with std::vector as they should

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #1 from ivranos at freemail dot gr 2008-10-02 18:27 --- Created an attachment (id=16453) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16453action=view) The produced .ii file The produced .ii file from code compiled with the options: g++ -ansi -pedantic-errors -Wall

[Bug c++/37720] Copy constructors do not work with std::vector as they should

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #2 from ivranos at freemail dot gr 2008-10-02 18:33 --- My mistake. :-) -- ivranos at freemail dot gr changed: What|Removed |Added Status

[Bug c++/37721] New: Segmentation fault

2008-10-02 Thread ivranos at freemail dot gr
()); } -- Summary: Segmentation fault Product: gcc Version: 4.2.3 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ivranos at freemail dot gr

[Bug c++/37721] Segmentation fault

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #1 from ivranos at freemail dot gr 2008-10-02 19:17 --- Created an attachment (id=16454) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16454action=view) The produced .ii file This is the produced main.ii file created by g++ -ansi -pedantic-errors -Wall -save-temps

[Bug libstdc++/37721] Segmentation fault

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #2 from ivranos at freemail dot gr 2008-10-02 19:27 --- Created an attachment (id=16455) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16455action=view) The produced main.ii file The produced main.ii file by g++ -ansi -pedantic-errors -Wall -save-temps main.cc -o

[Bug libstdc++/37721] Segmentation fault

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #4 from ivranos at freemail dot gr 2008-10-02 21:09 --- May you be more specific and tell what exactly is invalid? That is what is the error in the source code. -- ivranos at freemail dot gr changed: What|Removed |Added

[Bug libstdc++/37721] Segmentation fault

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #6 from ivranos at freemail dot gr 2008-10-02 23:34 --- The bug can easily be in the library. -- ivranos at freemail dot gr changed: What|Removed |Added

[Bug libstdc++/37721] Segmentation fault

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #7 from ivranos at freemail dot gr 2008-10-02 23:37 --- To be more precise: I believe the bug is in the library. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37721

[Bug c++/37721] Segmentation fault

2008-10-03 Thread ivranos at freemail dot gr
--- Comment #9 from ivranos at freemail dot gr 2008-10-03 08:38 --- I am sorry but you are not right/specific. At first there is no struct in the code, only class. Second, the copy constructor does not copy the passed argument, it ignores it. But it initialises its data member the same

[Bug libstdc++/37721] Segmentation fault

2008-10-03 Thread ivranos at freemail dot gr
--- Comment #11 from ivranos at freemail dot gr 2008-10-03 08:48 --- I posted the code to c.l.c++ with the subject Segmentation fault. If noone finds any bug, I will reopen the bug here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37721

[Bug libstdc++/37721] Segmentation fault

2008-10-03 Thread ivranos at freemail dot gr
--- Comment #13 from ivranos at freemail dot gr 2008-10-03 09:09 --- The prurpose of the code is to benchmark the sorting of a vector and of a list with complex objects as their elements (SomeClass). SomeClass itself doesn't make any other sense, its purpose is to be complex. I think

[Bug libstdc++/37721] Segmentation fault

2008-10-03 Thread ivranos at freemail dot gr
--- Comment #15 from ivranos at freemail dot gr 2008-10-03 09:54 --- So, if there isn't any source code bug at my side, and it is a compiler bug, you mean the maintainers don't care to fix it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37721

[Bug libstdc++/37721] Segmentation fault

2008-10-03 Thread ivranos at freemail dot gr
--- Comment #16 from ivranos at freemail dot gr 2008-10-03 11:52 --- I managed to replicate the bug in simple code: #include iostream #include ctime #include cstdlib #include vector int main() { using namespace std; vectorint intVector(1000*1000); srand(time(0

[Bug libstdc++/37721] Segmentation fault

2008-10-03 Thread ivranos at freemail dot gr
--- Comment #17 from ivranos at freemail dot gr 2008-10-03 11:55 --- The bug occurs in this simpler code too: #include iostream #include ctime #include cstdlib #include vector #include limits int main() { using namespace std; vectorint intVector(1000*1000); srand(time

[Bug libstdc++/37721] Segmentation fault

2008-10-03 Thread ivranos at freemail dot gr
--- Comment #18 from ivranos at freemail dot gr 2008-10-03 11:59 --- The last two code snippers had errors. -- ivranos at freemail dot gr changed: What|Removed |Added

[Bug c++/35353] New: C++ wide character locale doesn't work

2008-02-24 Thread ivranos at freemail dot gr
org ReportedBy: ivranos at freemail dot gr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35353

[Bug c++/35353] C++ wide character locale doesn't work

2008-02-24 Thread ivranos at freemail dot gr
--- Comment #1 from ivranos at freemail dot gr 2008-02-24 14:11 --- Created an attachment (id=15217) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15217action=view) The main.ii file produced by -save-temps option This is the file created by the g++ -v -save-temps -ansi

[Bug c++/35353] C++ wide character locale doesn't work

2008-02-24 Thread ivranos at freemail dot gr
--- Comment #2 from ivranos at freemail dot gr 2008-02-24 14:15 --- Created an attachment (id=15218) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15218action=view) The produced main.s file The main.s file produced by g++ -v -save-temps -ansi -pedantic-errors -Wall main.cc -o

[Bug c++/35353] C++ wide character locale doesn't work

2008-02-24 Thread ivranos at freemail dot gr
--- Comment #4 from ivranos at freemail dot gr 2008-02-24 14:23 --- Created an attachment (id=15219) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15219action=view) Screenshot of the standard I/O of the working code and of the non-working code. This screenshot shows the I/O

[Bug c++/35353] C++ wide character locale doesn't work

2008-02-24 Thread ivranos at freemail dot gr
--- Comment #5 from ivranos at freemail dot gr 2008-02-24 14:35 --- sync_with_stdio (false) doesn't work. Actually it crashes the code. Check the screenshot I have attached in the latest attachment, to see the difference between the C++ working code and the C++ non-working code

[Bug libstdc++/35353] C++ wide character locale doesn't work

2008-02-25 Thread ivranos at freemail dot gr
--- Comment #7 from ivranos at freemail dot gr 2008-02-25 12:02 --- I am sorry for insisting on this, but I think there is an issue, and I want the best for GCC. So please have a look at the messages of this link: http://tinyurl.com/384u3n and use Unicode (UTF-8) character encoding

[Bug libstdc++/35353] C++ wide character locale doesn't work

2008-02-25 Thread ivranos at freemail dot gr
--- Comment #8 from ivranos at freemail dot gr 2008-02-25 12:12 --- Summary of the case: What doesn't work: #include iostream #include locale #include string int main() { using namespace std; wcin.imbue(locale(greek)); wcout.imbue(locale(greek)); wstring ws