From: Paul Floyd Date: Thu, 19 May 2022 18:58:10 +0000 (+0200) Subject: Add attribute noinline to memcheck/tests/wrap6.c X-Git-Tag: VALGRIND_3_20_0~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c065867e55b8358ab55550c4b362c905461ada04;p=thirdparty%2Fvalgrind.git Add attribute noinline to memcheck/tests/wrap6.c With clang 13 this testcase was failing due to inlining/optimization of fn_12. --- diff --git a/memcheck/tests/wrap6.c b/memcheck/tests/wrap6.c index 4b7017abb7..46eb3c7083 100644 --- a/memcheck/tests/wrap6.c +++ b/memcheck/tests/wrap6.c @@ -588,6 +588,7 @@ UInt I_WRAP_SONAME_FNNAME_ZU(NONE,fn_11) /* --------------- 12 --------------- */ +__attribute__((noinline)) UInt fn_12 ( UInt a1, UInt a2, UInt a3, UInt a4, UInt a5, UInt a6, UInt a7, UInt a8, UInt a9, UInt a10, UInt a11, UInt a12 ) {