Hi Jonathan, > It's been several years now that Solaris supported -pthread as well as > -pthreads, so there's no need to have separate dg-options directives > for Solaris. > > This patch removes all the lines: > > // { dg-options "... -pthreads" { target *-*-solaris* } } > > And adds *-*-solaris* to the list of targets in: > > // { dg-options "... -pthread" { target ... } } > > Rainer, any objection to this change?
not at all. In fact, I'd always wondered about this difference. Maybe it's time now to obsolete both -pthreads and -D_PTHREADS as I'd suggested years ago. Btw., there's one last -pthreads reference left in libstdc++-v3/doc/xml/manual/using.xml. Perhaps this should go, too. The next step would be to replace the explict target list with an effective-target keyword ;-) Thanks for doing this. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University