[Bug c++/104872] Memory corruption in Coroutine with POD type

2024-07-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104872 Arsen Arsenović changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/104872] Memory corruption in Coroutine with POD type

2022-11-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104872 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/104872] Memory corruption in Coroutine with POD type

2022-11-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104872 --- Comment #5 from Jonathan Wakely --- P2 is used to mark regressions that already exist on released versions, P1 is for regressions that are new on trunk and not in any release yet. Everything else is P3. Changing it would serve no real

[Bug c++/104872] Memory corruption in Coroutine with POD type

2022-11-02 Thread benni.buch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104872 --- Comment #4 from Benjamin Buch --- Can you please increase the priority? P3 seems too low for the wrong code. With ICE I could understand that, but here the code seems to be compiled successfully and then crashes when running the program.

[Bug c++/104872] Memory corruption in Coroutine with POD type

2022-06-21 Thread benni.buch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104872 --- Comment #3 from Benjamin Buch --- Bug is still present in GCC 12.1 and current trunk.

[Bug c++/104872] Memory corruption in Coroutine with POD type

2022-03-11 Thread benni.buch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104872 --- Comment #2 from Benjamin Buch --- To workaround it is enough define the wrapper constructor to build a string. ```cpp wrapper(std::string text): filename(std::move(text)) {} ``` https://godbolt.org/z/9za7hfjs8 ```cpp #include #include

[Bug c++/104872] Memory corruption in Coroutine with POD type

2022-03-11 Thread benni.buch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104872 --- Comment #1 from Benjamin Buch --- More minimal version: https://godbolt.org/z/aEv13e38a ```cpp #include #include #include using namespace std::literals; class logging_string{ public: logging_string(std::string_view text)