]> granicus.if.org Git - clang/commitdiff
Transcribe clattner email to SVN.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 29 Jul 2010 02:46:02 +0000 (02:46 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 29 Jul 2010 02:46:02 +0000 (02:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109727 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/Pragma.cpp

index 3499ca02994582645ef23469000303e39fc8b7ff..783900de467be85bb4e4b7aa54101edc7b759c96 100644 (file)
@@ -605,7 +605,7 @@ struct PragmaDebugHandler : public PragmaHandler {
   }
 
   void DebugCrash() {
-    *(int*) 0x11 = 0;
+    *(volatile int*) 0x11 = 0;
   }
 };