re PR ipa/86590 (Codegen is poor when passing std::string by value with _GLIBCXX_EXTE...
authorJakub Jelinek <jakub@redhat.com>
Mon, 21 Jan 2019 11:55:52 +0000 (12:55 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 21 Jan 2019 11:55:52 +0000 (12:55 +0100)
commit8f10fb5065db28760123a21cc8645cf4865d3ff8
tree9680c5928ab70232b27daf88976b86eb45b285d5
parentd715f5543117af088e6d8099806b266aa2dac047
re PR ipa/86590 (Codegen is poor when passing std::string by value with _GLIBCXX_EXTERN_TEMPLATE undefined)

PR libstdc++/86590
* include/bits/char_traits.h (__constant_string_p,
__constant_char_array_p): Use __builtin_is_constant_evaluated if
available.

From-SVN: r268112
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/char_traits.h