This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] fix PR target/54407


  The attached patch eliminates the execution failures in 30_threads/condition_variable/54185.cc
on darwin by limiting the test to darwin11 or later. The test is disabled on darwin10 and earlier
which has broken pthread support. Tested on x86_64-apple-darwin10 and x86_64-apple-darwin12. 
Okay for gcc trunk?

libstdc++-v3/testsuite/

2012-10-16  Dominique Dhumieres  <dominiq@lps.ens.fr>
	    Jack Howarth <howarth@bromo.med.uc.edu>

	PR target/54407
	* 30_threads/condition_variable/54185.cc: Skip for darwin < 11.

Index: libstdc++-v3/testsuite/30_threads/condition_variable/54185.cc
===================================================================
--- libstdc++-v3/testsuite/30_threads/condition_variable/54185.cc	(revision 192494)
+++ libstdc++-v3/testsuite/30_threads/condition_variable/54185.cc	(working copy)
@@ -1,4 +1,4 @@
-// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* powerpc-ibm-aix* } }
+// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin1[1-9]* powerpc-ibm-aix* } }
 // { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* powerpc-ibm-aix* } }
 // { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } }
 // { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]