mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
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().
This commit is contained in:
parent
6cb8e52c34
commit
ed78405cd6
@ -14,6 +14,8 @@ typedef unsigned short UShort;
|
||||
typedef unsigned long UWord;
|
||||
typedef char HChar;
|
||||
|
||||
|
||||
__attribute__((noinline))
|
||||
unsigned myrandom(void)
|
||||
{
|
||||
/* Simple multiply-with-carry random generator. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user