]> 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>
Mon, 23 Oct 2023 00:04:03 +0000 (02:04 +0200)
commitf8ce7e779de156cb6d0fa51dbaef49cd255b7171
treed3644c54bb60b8e7f667e8a153149ea30d5a6980
parente1802a5c6c31a989b0999f48b8fd169aeb555dc1
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