[llvm-commits] [test-suite] r76190 - /test-suite/trunk/SingleSource/UnitTests/ObjC/synchronized.m
Daniel Dunbar
daniel at zuster.org
Fri Jul 17 10:38:32 PDT 2009
Author: ddunbar
Date: Fri Jul 17 12:38:08 2009
New Revision: 76190
URL: http://llvm.org/viewvc/llvm-project?rev=76190&view=rev
Log:
Mark numThreads volatile.
Modified:
test-suite/trunk/SingleSource/UnitTests/ObjC/synchronized.m
Modified: test-suite/trunk/SingleSource/UnitTests/ObjC/synchronized.m
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/ObjC/synchronized.m?rev=76190&r1=76189&r2=76190&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/ObjC/synchronized.m (original)
+++ test-suite/trunk/SingleSource/UnitTests/ObjC/synchronized.m Fri Jul 17 12:38:08 2009
@@ -7,7 +7,7 @@
#define kNumThreads 10
#define kLoopCount 10
-unsigned numThreads = kNumThreads;
+volatile unsigned numThreads = kNumThreads;
unsigned sum = 0;
@implementation A
More information about the llvm-commits
mailing list