public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org
Subject: [gcc r10-9599] libstdc++: Remove duplicate dg-do directive
Date: Mon, 29 Mar 2021 20:03:52 +0000 (GMT)	[thread overview]
Message-ID: <20210329200352.4189D3850429@sourceware.org> (raw)

https://gcc.gnu.org/g:affd2cfda6d5dd31331644ead9af191b4918cc94

commit r10-9599-gaffd2cfda6d5dd31331644ead9af191b4918cc94
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.
    
    (cherry picked from commit 351f60794c116d25a78da5220f3da74b4268cb8d)

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>


                 reply	other threads:[~2021-03-29 20:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210329200352.4189D3850429@sourceware.org \
    --to=redi@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    --cc=libstdc++-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).