summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/test/profile/Linux/instrprof-cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/profile/Linux/instrprof-cs.c b/compiler-rt/test/profile/Linux/instrprof-cs.c
index 3be4359d9bf..fdf29cb355e 100644
--- a/compiler-rt/test/profile/Linux/instrprof-cs.c
+++ b/compiler-rt/test/profile/Linux/instrprof-cs.c
@@ -11,7 +11,7 @@
// Check context insenstive profile
// RUN: %clang_profuse=%t.cis.profdata -O2 -emit-llvm -S %s -o - | FileCheck %s --check-prefix=CIS
int g1 = 1;
-int g2 = 2;
+int volatile g2 = 2;
static void toggle(int t) {
if (t & 1)
g1 *= t;
OpenPOWER on IntegriCloud