re PR tree-optimization/88775 (Optimize std::string assignment)
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 Jan 2019 10:56:56 +0000 (11:56 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 10 Jan 2019 10:56:56 +0000 (11:56 +0100)
commit6cdf1946f6eed116552026cfeb44a669ee882ccf
tree9e0df4647c48c61b0be61e9fa0ab0c1f4ded7f28
parentdbf02a2cd6652a1e95cce0ea5035ac394c023a00
re PR tree-optimization/88775 (Optimize std::string assignment)

PR tree-optimization/88775
* include/bits/stl_function.h (greater<_Tp*>::operator(),
less<_Tp*>::operator(), greater_equal<_Tp*>::operator(),
less_equal<_Tp*>::operator()): Use __builtin_is_constant_evaluated
instead of __builtin_constant_p if available.  Don't bother with
the pointer comparison in C++11 and earlier.

From-SVN: r267800
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_function.h