]> git.ipfire.org Git - thirdparty/zstd.git/commit
[contrib][linux-kernel] Fix stack detection for newer gcc
authorNick Terrell <terrelln@fb.com>
Tue, 13 Dec 2022 23:03:23 +0000 (15:03 -0800)
committerNick Terrell <nickrterrell@gmail.com>
Tue, 13 Dec 2022 23:56:53 +0000 (15:56 -0800)
commite767d5c7c144ab911842229a9a8fee527d9616e9
treef602b2303d82bbb309ce50817a81ddfd2b1ff6b7
parentb0bcbbfe1661e6212b2fac105099c5f61f323a7c
[contrib][linux-kernel] Fix stack detection for newer gcc

Newer gcc versions were getting smart and omitting the `memset()`.
Get around this issue by outlining the `memset()` into a different
function. This test is still hacky, but it works...
contrib/linux-kernel/test/test.c