http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33720
--- Comment #8 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #7) > I still believe it is not needed to slow down the runtime library with > checks for invalid programs. Negative num_threads is undefined behavior, > just don't do it. Perhaps the check could be added with the new -fsanitize=undefined?