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

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I've just noticed that the error is not an uncaught exception, it's:
terminate called without an active exception

That's very odd.

I think you'll need to selectively comment out the calls in main():

int main()
{
  test01();
  test02();
  test03();
  test04();
}

Find out where the crash happens. I suspect it's in test01, or I'd expect to
see the printf+puts output coming from test03.

Could it be the call to __builtin_cpu_supports("darn") which happens in the
std::random_device x("default") initialization in test01?!

Could that system not support the DARN insn? Or have a faulty DARN?

Reply via email to