From: Julian Seward Date: Sun, 24 Jul 2011 21:41:41 +0000 (+0000) Subject: The cmpxchg16b tests in this need to have 16-aligned addresses; X-Git-Tag: svn/VALGRIND_3_7_0~325 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb890807d53c58b28ef7bb0e0c18652125ce2e5c;p=thirdparty%2Fvalgrind.git 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 --- 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;