paulfloyd / freebsd_valgrind

Git repo used to Upstream the FreeBSD Port of Valgrind
GNU General Public License v2.0
15 stars 4 forks source link

none/tests/amd64/amd64locked fails [FreeBSD 13.1] #187

Closed paulfloyd closed 2 years ago

paulfloyd commented 2 years ago

Purely a clang issue.

paulfloyd commented 2 years ago

Fixed hopefully

commit ed78405cd623778cb6b7ec8ae58fb4329aa0d488 (HEAD -> master, origin/master, origin/HEAD) Author: Paul Floyd pjfloyd@wanadoo.fr Date: Wed May 18 23:41:43 2022 +0200

Make testcase myrandom() noinline.

With clang 13 none/tests/amd64/amd64locked fails because of what
looks like a clang optimization error. do_bt_G_E_tests is the
point of failure, and one factor is that clang 13 is inlining
myrandom().