diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-11-13 16:37:24 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-11-13 17:58:50 +0000 |
commit | 2b92007016ce8de3fc0a8c4508a789b822ea8e6b (patch) | |
tree | 490b1ec090e4c0a2c0258c2d18e5c2f80d704b7d /gcc/gimple.c | |
parent | 8586e16154f17df56ba6008c2ffe104bd03dd698 (diff) | |
download | gcc-2b92007016ce8de3fc0a8c4508a789b822ea8e6b.zip gcc-2b92007016ce8de3fc0a8c4508a789b822ea8e6b.tar.gz gcc-2b92007016ce8de3fc0a8c4508a789b822ea8e6b.tar.bz2 |
libstdc++: Use __is_single_threaded() in performance tests
With recent glibc releases the __gthread_active_p() function is always
true, so we always append "-thread" onto performance benchmark names.
Use the __gnu_cxx::__is_single_threaded() function instead.
libstdc++-v3/ChangeLog:
* testsuite/util/testsuite_performance.h: Use
__gnu_cxx::__is_single_threaded instead of __gthread_active_p().
Diffstat (limited to 'gcc/gimple.c')
0 files changed, 0 insertions, 0 deletions