]> Savannah Git Hosting - gnulib.git/commit
memset_explicit, explicit_bzero tests: Fix test failures with new gcc.
authorBruno Haible <bruno@clisp.org>
Mon, 23 Oct 2023 00:04:03 +0000 (02:04 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 5 Nov 2023 19:19:09 +0000 (20:19 +0100)
commitade684c3b3b8d39e4ee5b3ed49d50687c089b50f
tree8521716cd8d35aa681e5d72e7b8aa3350ce6d459
parentc349b61d0b762ce3a25b5bf8da5ff4e279078239
memset_explicit, explicit_bzero tests: Fix test failures with new gcc.

Reported by Sam James <sam@gentoo.org> in
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111904>.

Fix by Alexandre Oliva <aoliva@gcc.gnu.org>.

* tests/test-memset_explicit.c (do_secret_stuff): Declare with
attributes 'noclone' and 'noipa'.
* tests/test-explicit_bzero.c (do_secret_stuff): Likewise.
ChangeLog
tests/test-explicit_bzero.c
tests/test-memset_explicit.c