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

login
register
mail settings
Submitter Rainer Orth
Date April 15, 2013, 2:56 p.m.
Message ID <ydd38uron9s.fsf@lokon.CeBiTec.Uni-Bielefeld.DE>
Download mbox | patch
Permalink /patch/236624/
State New
Headers show

Comments

Rainer Orth - April 15, 2013, 2:56 p.m.
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*.

Patch

# 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 "" }