public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] libstdc++: Remove duplicate dg-do directive
@ 2020-08-06  6:36 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2020-08-06  6:36 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:351f60794c116d25a78da5220f3da74b4268cb8d

commit 351f60794c116d25a78da5220f3da74b4268cb8d
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Jul 31 17:51:00 2020 +0100

    libstdc++: Remove duplicate dg-do directive
    
    Also add an effective target to clarify it should only run for C++17 and
    later.
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/20_util/time_point_cast/rounding.cc: Remove
            duplicate dg-do directive and add c++17 effective target.

Diff:
---
 libstdc++-v3/testsuite/20_util/time_point_cast/rounding.cc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libstdc++-v3/testsuite/20_util/time_point_cast/rounding.cc b/libstdc++-v3/testsuite/20_util/time_point_cast/rounding.cc
index 7cf4931645e..9918b83bac1 100644
--- a/libstdc++-v3/testsuite/20_util/time_point_cast/rounding.cc
+++ b/libstdc++-v3/testsuite/20_util/time_point_cast/rounding.cc
@@ -15,10 +15,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-do run { target c++11 } }
-
 // { dg-options "-std=gnu++17" }
-// { dg-do compile }
+// { dg-do compile { target c++17 } }
 
 #include <chrono>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-06  6:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-06  6:36 [gcc(refs/users/aoliva/heads/testme)] libstdc++: Remove duplicate dg-do directive Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).