This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[4.7, v3] Compile 30_threads/condition_variable/members/53841.cc with -std=gnu++0x on Tru64 UNIX and IRIX


On the 4.7 branch, 30_threads/condition_variable/members/53841.cc fails
to compile on IRIX and Tru64 UNIX since the required -std=gnu++0x wasn't
passed.  Fixed like this, tested with the appropriate runtest
invocation, installed on the 4.7 branch.

	Rainer


2013-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* testsuite/30_threads/condition_variable/members/53841.cc: Add
	-std=gnu++0x -pthread on alpha*-*-osf*, mips-sgi-irix6*.

# HG changeset patch
# Parent 72c6c407d339f321a393e37c78e6dcadc67546d1
Compile 30_threads/condition_variable/members/53841.cc with -std=gnu++0x on Tru64 UNIX

diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/members/53841.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/members/53841.cc
--- a/libstdc++-v3/testsuite/30_threads/condition_variable/members/53841.cc
+++ b/libstdc++-v3/testsuite/30_threads/condition_variable/members/53841.cc
@@ -1,5 +1,5 @@
 // { dg-do compile }
-// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* powerpc-ibm-aix* hppa*-hp-hpux11* } }
+// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* 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 "" }
-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

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