diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-01-10 17:44:42 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-01-10 17:44:42 +0000 |
commit | 904112f6bbb64776936b04c7b6513ffbe7260433 (patch) | |
tree | faf5493b9854a98b79ce0f335750f4e608232b41 | |
parent | d2e1d4b71387f5fbcf7198f05ddeb39e38b3d511 (diff) | |
download | gcc-904112f6bbb64776936b04c7b6513ffbe7260433.zip gcc-904112f6bbb64776936b04c7b6513ffbe7260433.tar.gz gcc-904112f6bbb64776936b04c7b6513ffbe7260433.tar.bz2 |
Adjust effective target selector to fix C++17 FAIL
* testsuite/18_support/exception_ptr/60612-unexpected.cc: Adjust
effective target selector to prevent running in C++17 mode.
From-SVN: r244280
-rw-r--r-- | libstdc++-v3/ChangeLog | 3 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index da1bfe6..e3101e1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2017-01-10 Jonathan Wakely <jwakely@redhat.com> + * testsuite/18_support/exception_ptr/60612-unexpected.cc: Adjust + effective target selector to prevent running in C++17 mode. + PR libstdc++/77528 * include/bits/stl_queue.h (queue::c): Add default member initializer. (queue::queue()): Add constructor and define as defaulted. diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc index 3562892..97e3d57 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc @@ -1,4 +1,4 @@ -// { dg-do run { target c++11 } } +// { dg-do run { target { c++11_only || c++14_only } } } // Copyright (C) 2014-2017 Free Software Foundation, Inc. // |