aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-prefetch.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-01-03 14:44:39 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2020-01-03 14:44:39 +0000
commitb4e7013794972ddfcaf042a775b06c94d20ba96b (patch)
tree30bf0362ba8b6901f8764bce13b406f15f96fec4 /gcc/tree-ssa-loop-prefetch.c
parent48182bd670dab4d0ced7f5f2d9fce6cb589dcfbb (diff)
downloadgcc-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