aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-08-26 14:47:51 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-08-26 14:48:49 +0100
commit3eefb302d2bd8502cb3d8fe44e672b11092ccaf6 (patch)
treeb1aae404bb43060f6de08d52a4cb59b1a4d7e678 /gcc/tree-vectorizer.h
parent2236c45479e4c01a6ac68547bcdfe3065481df0f (diff)
downloadgcc-3eefb302d2bd8502cb3d8fe44e672b11092ccaf6.zip
gcc-3eefb302d2bd8502cb3d8fe44e672b11092ccaf6.tar.gz
gcc-3eefb302d2bd8502cb3d8fe44e672b11092ccaf6.tar.bz2
libstdc++: Enable assertions in constexpr string_view members [PR 71960]
Since GCC 6.1 there is no reason we can't just use __glibcxx_assert in constexpr functions in string_view. As long as the condition is true, there will be no call to std::__replacement_assert that would make the function ineligible for constant evaluation. PR libstdc++/71960 * include/experimental/string_view (basic_string_view): Enable debug assertions. * include/std/string_view (basic_string_view): Likewise.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions