diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-09-21 23:43:25 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-09-21 23:43:25 +0100 |
commit | 7db5967f1050eb2b45e920b13d495d92ba4f16f4 (patch) | |
tree | 900f738d28b4bce44d6cdbae4799fadee0123778 /gcc | |
parent | aecea4158f4e547af349657a3d16cb031a30ec3b (diff) | |
download | gcc-7db5967f1050eb2b45e920b13d495d92ba4f16f4.zip gcc-7db5967f1050eb2b45e920b13d495d92ba4f16f4.tar.gz gcc-7db5967f1050eb2b45e920b13d495d92ba4f16f4.tar.bz2 |
libstdc++: Use __builtin_expect in __glibcxx_assert
libstdc++-v3/ChangeLog:
* include/bits/c++config (__replacement_assert): Add noreturn
attribute.
(__glibcxx_assert_impl): Use __builtin_expect to hint that the
assertion is expected to pass.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions