https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104676
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Kito Cheng <k...@gcc.gnu.org>: https://gcc.gnu.org/g:d5b66a905322262483af5c4ca6cb6676c24e1f3f commit r12-8295-gd5b66a905322262483af5c4ca6cb6676c24e1f3f Author: Jia-Wei Chen <jia...@iscas.ac.cn> Date: Tue Apr 19 11:11:24 2022 +0800 testsuite: Skip target not support -pthread [PR104676]. The "ftree-parallelize-loops=" imply -pthread option in gcc/gcc.cc, some target are not support pthread like elf target use newlib, and will get an error: "*-*-elf-gcc: error: unrecognized command-line option '-pthread'" so we add an additional condition "{target pthread}" to make sure the dg-additional-options runs on support targets. gcc/testsuite/ChangeLog PR target/104676 * gcc.dg/torture/pr104676.c: Add "{target pthread}" check.