From: Jonathan Wakely Date: Fri, 7 Jun 2019 19:57:28 +0000 (+0100) Subject: Fix test that gets skipped as unsupported X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1b4c4f49131f16686ace6aa6b3291edd7048e82;p=gcc.git Fix test that gets skipped as unsupported * testsuite/24_iterators/container_access.cc: Move dg-options before dg-do directive so the target check uses the -std option. From-SVN: r272051 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 78aafc6cf21..7c19741afbd 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2019-06-07 Jonathan Wakely + * testsuite/24_iterators/container_access.cc: Move dg-options before + dg-do directive so the target check uses the -std option. + PR libstdc++/90770 * configure: Regenerate. * src/Makefile.am (stamp-debug): Also test for missing makefile. diff --git a/libstdc++-v3/testsuite/24_iterators/container_access.cc b/libstdc++-v3/testsuite/24_iterators/container_access.cc index 4346b3b6b8c..b9fd3194fe9 100644 --- a/libstdc++-v3/testsuite/24_iterators/container_access.cc +++ b/libstdc++-v3/testsuite/24_iterators/container_access.cc @@ -1,5 +1,5 @@ -// { dg-do run { target c++17 } } // { dg-options "-std=gnu++17" } +// { dg-do run { target c++17 } } // Copyright (C) 2015-2019 Free Software Foundation, Inc. //