]> 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 18:59:19 +0000 (19:59 +0100)
commit86b94920da11fd799555586802e007e829d5894c
tree5cae12b245c350540150524d97f2f56609449742
parent14538ffa44b6606733b443ac7b0c045424ca5433
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