aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-02-11 12:56:59 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-02-11 12:56:59 +0000
commit271ad97b6b353eaa40c1efd6fec3b402af137482 (patch)
tree6a3dc98b029cff7caa060cbfab1c3ccc558c7aa5 /gcc
parente66084a445ce22d382afa9fb67f1ed25bf20c298 (diff)
downloadgcc-271ad97b6b353eaa40c1efd6fec3b402af137482.zip
gcc-271ad97b6b353eaa40c1efd6fec3b402af137482.tar.gz
gcc-271ad97b6b353eaa40c1efd6fec3b402af137482.tar.bz2
PR libstdc++/89023 fix test that fails when <omp.h> not available
Instead of a single test that only checks whether <regex> can be included in Parallel Mode, add tests for each of C++11/C++14/C++17 that check whether <bits/extc++.h> is compatible with _GLIBCXX_PARALLEL. This increases the coverage to (almost) all headers. If <omp.h> is not available then the tests will trivially pass, because we don't care about compatibility with _GLIBCXX_PARALLEL in that case. PR libstdc++/89023 * testsuite/17_intro/headers/c++2011/parallel_mode.cc: New test. * testsuite/17_intro/headers/c++2014/parallel_mode.cc: New test. * testsuite/17_intro/headers/c++2017/parallel_mode.cc: New test. * testsuite/28_regex/headers/regex/parallel_mode.cc: Remove. From-SVN: r268769
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions