From: Julian Seward Date: Mon, 14 Mar 2011 09:53:44 +0000 (+0000) Subject: Build fix for older s390x-linux assemblers. Fixes #264800. X-Git-Tag: svn/VALGRIND_3_7_0~586 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6724c5abb70d7b181bf4e8a7af9117008881eaec;p=thirdparty%2Fvalgrind.git Build fix for older s390x-linux assemblers. Fixes #264800. (Florian Krohm, britzel@acm.org) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11643 --- diff --git a/helgrind/tests/tc03_re_excl.c b/helgrind/tests/tc03_re_excl.c index 4f3ce51270..6fd5a1b09d 100644 --- a/helgrind/tests/tc03_re_excl.c +++ b/helgrind/tests/tc03_re_excl.c @@ -10,7 +10,7 @@ /* A simple function to "use" a value, so that gcc can't possibly optimise it into nothing. */ static void use ( int x ) { - __asm__ __volatile__( "nop" : : "r"(x) : "cc","memory" ); + __asm__ __volatile__( "" : : "r"(x) : "cc","memory" ); } static void* worker_thread ( void* argV )