diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-01-03 14:44:39 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2020-01-03 14:44:39 +0000 |
commit | b4e7013794972ddfcaf042a775b06c94d20ba96b (patch) | |
tree | 30bf0362ba8b6901f8764bce13b406f15f96fec4 /gcc/tree-ssa-loop-prefetch.c | |
parent | 48182bd670dab4d0ced7f5f2d9fce6cb589dcfbb (diff) | |
download | gcc-b4e7013794972ddfcaf042a775b06c94d20ba96b.zip gcc-b4e7013794972ddfcaf042a775b06c94d20ba96b.tar.gz gcc-b4e7013794972ddfcaf042a775b06c94d20ba96b.tar.bz2 |
libstdc++: Only use std::compare_three_way when concepts are supported
Clang now supports three-way comparisons. That causes both overloads of
std::lexicographical_compare_three_way to be defined, but the second one
uses std::compare_three_way which depends on concepts. Clang does not
yet support concepts, so the second overload should also depend on
__cpp_lib_concepts.
* include/bits/stl_algobase.h (lexicographical_compare_three_way):
Only define four-argument overload when __cpp_lib_concepts is defined.
From-SVN: r279861
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
0 files changed, 0 insertions, 0 deletions