summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Pragma.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Lex/Pragma.cpp')
-rw-r--r--clang/lib/Lex/Pragma.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Pragma.cpp b/clang/lib/Lex/Pragma.cpp
index 3499ca02994..783900de467 100644
--- a/clang/lib/Lex/Pragma.cpp
+++ b/clang/lib/Lex/Pragma.cpp
@@ -605,7 +605,7 @@ struct PragmaDebugHandler : public PragmaHandler {
}
void DebugCrash() {
- *(int*) 0x11 = 0;
+ *(volatile int*) 0x11 = 0;
}
};
OpenPOWER on IntegriCloud