]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Build fix for older s390x-linux assemblers. Fixes #264800.
authorJulian Seward <jseward@acm.org>
Mon, 14 Mar 2011 09:53:44 +0000 (09:53 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 14 Mar 2011 09:53:44 +0000 (09:53 +0000)
(Florian Krohm, britzel@acm.org)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11643

helgrind/tests/tc03_re_excl.c

index 4f3ce51270373ae941f89cbc1cd40fecbc0ff1cb..6fd5a1b09d9749d8bdc05ce8b228529dc12aa591 100644 (file)
@@ -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 )