From cb890807d53c58b28ef7bb0e0c18652125ce2e5c Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Sun, 24 Jul 2011 21:41:41 +0000 Subject: [PATCH] The cmpxchg16b tests in this need to have 16-aligned addresses; make it so. Else they die with segfaults on F15. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11912 --- none/tests/amd64/bug127521-64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/none/tests/amd64/bug127521-64.c b/none/tests/amd64/bug127521-64.c index fefc9815cf..97bcc15e29 100644 --- a/none/tests/amd64/bug127521-64.c +++ b/none/tests/amd64/bug127521-64.c @@ -66,7 +66,7 @@ void do_cmpxchg16b ( /*OUT*/ ULong memHiIn, ULong memLoIn, ULong rcxIn, ULong rbxIn ) { - ULong mem[2]; + ULong mem[2] __attribute__((aligned(16))); ULong block[6]; mem[0] = memLoIn; mem[1] = memHiIn; -- 2.47.3