]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Anticipate testcase problems with GCC 12
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 23 Nov 2021 22:37:02 +0000 (23:37 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 23 Nov 2021 22:37:02 +0000 (23:37 +0100)
commit49fe0dc74a07ea4c5077867e44127eb68466eded
tree457b3cd2ee58af6da23b368457d749adfd30ae95
parent01e05ea81c4886636b44545eb501139b76d5dc7a
Anticipate testcase problems with GCC 12

There will be a lot more to come.

On amd64 Linux
In faultstatus was seeing the division by zero and emitting a ud2 opcode.
In wrap3 a pair of mutually recursive functions were being inlined.
When forced not to be inlined GCC merged them into a single function.
It cannot see that the client requests have diffeent behaviour.
memcheck/tests/wrap3.c
none/tests/faultstatus.c