https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95989

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Antal Buss from comment #1)
> Created attachment 48811 [details]
> Preprocessed file

For convenience, that is:

#include <thread>

int main() {
  auto t = std::jthread([](){});
  t.request_stop();
  return 0;
}


Both this testcase and the one in comment 7 work fine on RHEL 7, so this does
appear to be a regression caused by the changes for
https://sourceware.org/bugzilla/show_bug.cgi?id=22635

Reply via email to