|
From: Paul F. <pa...@so...> - 2022-05-19 18:59:08
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=c065867e55b8358ab55550c4b362c905461ada04 commit c065867e55b8358ab55550c4b362c905461ada04 Author: Paul Floyd <pj...@wa...> Date: Thu May 19 20:58:10 2022 +0200 Add attribute noinline to memcheck/tests/wrap6.c With clang 13 this testcase was failing due to inlining/optimization of fn_12. Diff: --- memcheck/tests/wrap6.c | 1 + 1 file changed, 1 insertion(+) 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 ) { |