public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/wschmidt/heads/builtins3)] libstdc++: Fix 30_threads/packaged_task/cons/alloc.cc regression
@ 2020-08-28 19:57 William Schmidt
  0 siblings, 0 replies; only message in thread
From: William Schmidt @ 2020-08-28 19:57 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

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

commit ac4e9090fce653ba7a43ea5333efdd9bbe5c71a3
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Mon Aug 24 16:06:25 2020 +0100

    libstdc++: Fix 30_threads/packaged_task/cons/alloc.cc regression
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/30_threads/packaged_task/cons/alloc.cc: Run for
            C++11 and skip for C++17 or later.

Diff:
---
 libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc
index dbe477ad1bf..d45637d4f83 100644
--- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc
+++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc
@@ -1,6 +1,6 @@
-// { dg-do run }
+// { dg-options "-std=gnu++11" }
+// { dg-do run { target { c++11_only || c++14_only } } }
 // { dg-additional-options "-pthread" { target pthread } }
-// { dg-require-effective-target c++11 }
 // { dg-require-gthreads "" }
 
 // Copyright (C) 2010-2020 Free Software Foundation, Inc.


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

only message in thread, other threads:[~2020-08-28 19:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-28 19:57 [gcc(refs/users/wschmidt/heads/builtins3)] libstdc++: Fix 30_threads/packaged_task/cons/alloc.cc regression William Schmidt

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).