[Bug sanitizer/113430] [11/12/13 only] Trivial program segfaults intermittently with ASAN with large CONFIG_ARCH_MMAP_RND_BITS in kernel configuration

2024-03-15 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113430 --- Comment #11 from Dimitrij Mijoski --- (In reply to Sam James from comment #10) > I don't plan on pursuing it myself, leaving it to someone else, as I can't > reproduce on my main workstation and I don't want to faff w/ kernel config. You

[Bug sanitizer/113430] Trivial program segfaults intermittently with ASAN with large CONFIG_ARCH_MMAP_RND_BITS in kernel configuration

2024-03-14 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113430 Dimitrij Mijoski changed: What|Removed |Added CC||dmjpp at hotmail dot com

[Bug libstdc++/108976] codecvt for Unicode allows surrogate code points

2024-01-13 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108976 --- Comment #11 from Dimitrij Mijoski --- (In reply to Jonathan Wakely from comment #10) > I think it would be good to backport it, what do you think? I don't really have strong need. Maybe porting only to v13 as that is pretty straightforward

[Bug libstdc++/108976] codecvt for Unicode allows surrogate code points

2024-01-05 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108976 --- Comment #9 from Dimitrij Mijoski --- I believe this bug report should closed as resolved. Are there maybe plans for back-porting?

[Bug libstdc++/108976] codecvt for Unicode allows surrogate code points

2023-04-18 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108976 --- Comment #7 from Dimitrij Mijoski --- I put a second version of the patch https://gcc.gnu.org/pipermail/libstdc++/2023-March/055667.html about a month ago.

[Bug libstdc++/108976] codecvt for Unicode allows surrogate code points

2023-03-08 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108976 --- Comment #6 from Dimitrij Mijoski --- I sent a single patch to the mailing list with a good detailed commit message. I think that is better than multiple patches.

[Bug libstdc++/108976] codecvt for Unicode allows surrogate code points

2023-03-07 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108976 --- Comment #4 from Dimitrij Mijoski --- I have fixed this, added large testsute and discovered another bug in codecvt_utf16 when the input [from, from_end) contains odd number of bytes. Error was returned instead of partial. Here are the

[Bug libstdc++/108976] codecvt for Unicode allows surrogate code points

2023-03-02 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108976 --- Comment #2 from Dimitrij Mijoski --- (In reply to Dimitrij Mijoski from comment #0) > Those that read from UCS-2 seem to me like they properly report the error. > Reading from UTF-16 can not have this bug by definition. From what I >

[Bug libstdc++/108976] New: codecvt for Unicode allows surrogate code points

2023-02-28 Thread dmjpp at hotmail dot com via Gcc-bugs
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dmjpp at hotmail dot com Target Milestone: --- Text in valid Unicode should never contain surrogate code POINTS. Those are only allowed in UTF-16, but only as code UNITS and must be properly paired. UTF-8 text

[Bug c++/106656] [C++23] P2513 - char8_t Compatibility and Portability Fixes

2023-02-07 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106656 Dimitrij Mijoski changed: What|Removed |Added CC||dmjpp at hotmail dot com

[Bug libstdc++/98466] Debug Mode iterators for unordered containers do not implement N3644

2021-01-27 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98466 --- Comment #3 from Dimitrij Mijoski --- (In reply to Jonathan Wakely from comment #2) > This was already fixed on master by r11-6682 > 05a30af3f237984b4dcf1dbbc17fdac583c46506 Yes, that patch mostly fixes bug 70303, too. With that patch, the

[Bug libstdc++/98466] Debug Mode iterators for unordered containers do not implement N3644

2021-01-27 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98466 Dimitrij Mijoski changed: What|Removed |Added CC||dmjpp at hotmail dot com --- Comment

[Bug libstdc++/86419] codecvt::in() and out() incorrectly return ok in some cases.

2020-09-24 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419 --- Comment #12 from Dimitrij Mijoski --- Hello Jonathan. I posted a patch for this bug which I hope you'll find it useful once you start working on this. https://gcc.gnu.org/pipermail/libstdc++/2020-September/051073.html

[Bug other/97076] clang-format file does not work for some C++11 code

2020-09-19 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97076 Dimitrij Mijoski changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug other/97076] New: clang-format file does not work for some C++11 code

2020-09-16 Thread dmjpp at hotmail dot com
Component: other Assignee: unassigned at gcc dot gnu.org Reporter: dmjpp at hotmail dot com Target Milestone: --- This is not a bug in GCC, but in the supporting files in contrib. The clang-format file at the end has Standard: Cpp03. See https://gcc.gnu.org/git/?p=gcc.git;a=blob;f

[Bug libstdc++/86419] codecvt::in() and out() incorrectly return ok in some cases.

2020-09-05 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419 --- Comment #10 from Dimitrij Mijoski --- I was wrong in comment #9. The bug and the proposed fix are ok in comment #7. While writing some tests for error I discovered yet another bug in UTF-8 decoding. See the example: // 2 code points, both

[Bug libstdc++/86419] codecvt::in() and out() incorrectly return ok in some cases.

2020-09-04 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419 --- Comment #9 from Dimitrij Mijoski --- Ignore my last comment, here is it fixed. Looking again at my proposed fix in comment #7, i concluded it is not the best fix. It will fix the testsuite in the same comment #7, but I discovered another

[Bug libstdc++/86419] codecvt::in() and out() incorrectly return ok in some cases.

2020-09-04 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419 --- Comment #8 from Dimitrij Mijoski --- Looking again at my proposed fix in comment #6, i concluded it is not the best fix. It will fix the testsuite in the same comment #6, but I discovered another class of errors related to the lines I am

[Bug libstdc++/86419] codecvt::in() and out() incorrectly return ok in some cases.

2020-09-03 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419 --- Comment #7 from Dimitrij Mijoski --- I think a found a related bug in the UTF8 to UCS2 codecvt, codecvt_utf8. It can be tested with the following example: #include auto test_u8_ucs2_in() { // 2 code points, one is 3 bytes and the

[Bug libstdc++/86419] codecvt::in() and out() incorrectly return ok in some cases.

2020-09-01 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419 --- Comment #5 from Dimitrij Mijoski --- I think I found where the bug lies. It lies in 1. line 557 of the file c++11/codecvt.cc

[Bug libstdc++/86419] codecvt::in() and out() incorrectly return ok in some cases.

2020-09-01 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419 Dimitrij Mijoski changed: What|Removed |Added Summary|codecvt::in() and out()|...>::in() and out()

[Bug libstdc++/85494] implementation of random_device on mingw is useless

2018-10-18 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85494 --- Comment #6 from Dimitrij Mijoski --- I read the patch couple of times and seems completely OK. Can you push it to the repository (or to a fork)?

[Bug libstdc++/86419] codecvt::in() and out() incorrectly return partial in some cases.

2018-07-06 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419 Dimitrij Mijoski changed: What|Removed |Added Attachment #44359|0 |1 is obsolete|

[Bug libstdc++/86419] codecvt::in() and out() incorrectly return partial in some cases.

2018-07-06 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419 --- Comment #1 from Dimitrij Mijoski --- Created attachment 44359 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44359=edit test cases that trigger the bug

[Bug libstdc++/86419] New: codecvt::in() and out() incorrectly return partial in some cases.

2018-07-06 Thread dmjpp at hotmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dmjpp at hotmail dot com Target Milestone: --- I have created a bunch of test cases, and on some it fails unexpectedly. I'll post the code as attachment, the lines with the bug

[Bug libstdc++/85494] implementation of random_device on mingw is useless

2018-07-06 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85494 --- Comment #3 from Dimitrij Mijoski --- Created attachment 44358 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44358=edit implements proper random_device for mingw-w64

[Bug libstdc++/85494] implementation of random_device on mingw is useless

2018-07-06 Thread dmjpp at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85494 Dimitrij Mijoski changed: What|Removed |Added CC||dmjpp at hotmail dot com --- Comment