[Bug libstdc++/89591] New: How can thread.joinable() reliably work if the pthread_t id is not initialized?

2019-03-05 Thread bique.alexandre at gmail dot com
: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: bique.alexandre at gmail dot com Target Milestone: --- Hi, I've been reading the header and I've found that the thread id of std::thread is not initializ

[Bug libstdc++/89591] How can thread.joinable() reliably work if the pthread_t id is not initialized?

2019-03-14 Thread bique.alexandre at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89591 --- Comment #2 from Alexandre Bique --- > It's initialized here: > >> id() noexcept : _M_thread() { } I did not know that it would initialize it to 0. In that case let's hope that pthread_t == "value-initialized" will never happen. Thank you

[Bug c++/82164] New: AddressSanitizer: stack-buffer-overflow while constructing std::regex

2017-09-09 Thread bique.alexandre at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bique.alexandre at gmail dot com Target Milestone: --- Hi, I'd like to report a bug regarding libstdc++ crashing in the regex engine: Compiling this: const std::