]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR tree-optimization/88775
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jan 2019 10:56:56 +0000 (10:56 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jan 2019 10:56:56 +0000 (10:56 +0000)
commit3273d2e651f98783ec2412d22cde0cb76d6d2322
tree9e0df4647c48c61b0be61e9fa0ab0c1f4ded7f28
parent12f289aef785f79cde18c6f9e075e08639de1ec4
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267800 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_function.h