From: Jonathan Wakely Date: Mon, 9 Jan 2017 11:09:09 +0000 (+0000) Subject: Add missing dg-options to C++11 test. X-Git-Tag: releases/gcc-5.5.0~603 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb65dd4453faacfee1ea18a65e6e14e2e24d996f;p=thirdparty%2Fgcc.git Add missing dg-options to C++11 test. * testsuite/30_threads/thread/cons/lwg2097.cc: Compile with -std=gnu++11. From-SVN: r244222 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b5da54506638..7f9550b958df 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2017-01-09 Jonathan Wakely + * testsuite/30_threads/thread/cons/lwg2097.cc: Compile with + -std=gnu++11. + * testsuite/25_algorithms/sort/78991.cc: Compile with -std=gnu++14. 2017-01-06 Jonathan Wakely diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc index 3ec4325e957a..d5d6288fa822 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc @@ -1,3 +1,4 @@ +// { dg-options "-std=gnu++11" } // { dg-do compile } // { dg-require-cstdint "" } // { dg-require-gthreads "" }