]> git.ipfire.org Git - thirdparty/glibc.git/commit
benchtests: Add attribute_optimize
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 6 Feb 2024 19:51:25 +0000 (16:51 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 Oct 2025 16:54:55 +0000 (13:54 -0300)
commitbca6d3d5ed8cd62aa1ce09a27e98bd8617ee0d3f
tree24b691d627bb7239f5307b8b5aff2616a819e71a
parent3f2979cfdecb33dd47383baf41e5f6059f379035
benchtests: Add attribute_optimize

Similar to tst-printf-bz18872.sh, add the attribute_optimize to avoid
build failures with compilers that do not support "GCC optimize" pragma.
benchtests/bench-pthread-lock-base.c
benchtests/bench-pthread-locks.c
benchtests/bench-util.h