The attached change adds the "-std=gnu++0x -pthread" options on hppa*-hp-hpux11*. Test passes with the change.
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk and 4.7 branch. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-12-01 John David Anglin <dave.ang...@nrc-cnrc.gc.ca> PR libstdc++/55503 * testsuite/30_threads/condition_variable/members/53841.cc: Add hppa*-hp-hpux11* to -pthread dg-options. Index: testsuite/30_threads/condition_variable/members/53841.cc =================================================================== --- testsuite/30_threads/condition_variable/members/53841.cc (revision 193878) +++ testsuite/30_threads/condition_variable/members/53841.cc (working copy) @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* powerpc-ibm-aix* } } +// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* powerpc-ibm-aix* hppa*-hp-hpux11* } } // { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } // { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } // { dg-require-cstdint "" }