diff -r 211e29335e72 Modules/faulthandler.c
--- a/Modules/faulthandler.c Fri Mar 13 11:01:30 2015 +0100
+++ b/Modules/faulthandler.c Fri Mar 13 11:27:44 2015 +0100
@@ -945,7 +945,7 @@ static Py_uintptr_t
stack_overflow(Py_uintptr_t min_sp, Py_uintptr_t max_sp, size_t *depth)
{
/* allocate 4096 bytes on the stack at each call */
- unsigned char buffer[4096];
+ volatile unsigned char buffer[4096];
Py_uintptr_t sp = (Py_uintptr_t)&buffer;
*depth += 1;
if (sp < min_sp || max_sp < sp)