https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67408
--- Comment #9 from Sebastian Huber <sebastian.hu...@embedded-brains.de> --- (In reply to Jonathan Wakely from comment #8) > There's no need to test on linux, I can do that myself. If it works on your > non-pthreads target I'll commit your patch. Here it works fine: https://lists.rtems.org/pipermail/devel/2015-September/012445.html