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:
Paul Floyd 2022-05-18 23:41:43 +02:00
parent 6cb8e52c34
commit ed78405cd6

View File

@ -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. */