Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1302)

Unified Diff: tests/threads/race_test.c

Issue 639113003: Add nacl-clang testing to SCons (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/threads/race_test.c
diff --git a/tests/threads/race_test.c b/tests/threads/race_test.c
index 8fdd1fe6167bd9039ad60599afe995c4ffdbebf1..c4f875866f781942071ea9bc07c5090ec617c856 100644
--- a/tests/threads/race_test.c
+++ b/tests/threads/race_test.c
@@ -52,7 +52,7 @@ NOINLINE void break_optimization(void) {
volatile int foo;
foo = 0;
jvoung (off chromium) 2014/10/08 22:40:23 Could just make this one case w/out __asm__?
Derek Schuff 2014/10/09 16:55:42 I dunno, an asm seems like a lot more reliable way
#else
- asm volatile ("");
+ __asm__ volatile ("");
#endif
}

Powered by Google App Engine
This is Rietveld 408576698