]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix tc23_bogus_condwait.c testcase for s390x.
authorFlorian Krohm <florian@eich-krohm.de>
Sun, 18 Sep 2011 00:11:12 +0000 (00:11 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sun, 18 Sep 2011 00:11:12 +0000 (00:11 +0000)
commit88a761ec9ea91aa6391da4281ba411a2ef71389b
treedda44b24f4c612de943208d5db98e10f1a3be2a3
parented330ac726d62875a6717354364a5cf295573b50
Fix tc23_bogus_condwait.c testcase for s390x.
The testcase used to cause a SIGILL because the address of the bogus
mutex  1 + (char*)&mx[0]  denotes a memory location that will eventually
appear in a compare-and-swap instruction. That insn does not allow
memory operands that are not word-aligned. Hence, the SIGILL.
With this fix both incarnations of this testcase (in helgrind and drd)
pass.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12038
helgrind/tests/tc23_bogus_condwait.c