The -pthread option seems to be extensively tested for various platforms by clang. Since flang uses those parts of the clang driver, the only test added is to ensure that the option is recognized by the frontend.