https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84442
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Wed Apr 18 11:15:38 2018 New Revision: 259463 URL: https://gcc.gnu.org/viewcvs?rev=259463&root=gcc&view=rev Log: PR libstdc++/84442 if _Exit isn't declared then use _exit instead PR libstdc++/84442 * testsuite/30_threads/thread/cons/terminate.cc [!_GLIBCXX_USE_C99_STDLIB] : Use _exit or std::exit instead of _Exit. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/testsuite/30_threads/thread/cons/terminate.cc