cpython: f71249d785d6 (original) (raw)

Mercurial > cpython

changeset 74682:f71249d785d6

Issue #13874: read_null() of faulthandler uses volatile to avoid optimisation Clang 3.0 removes "y = *x;" instruction if the optimisation level is 3. [#13874]

Victor Stinner victor.stinner@haypocalc.com
date Mon, 30 Jan 2012 00:07:43 +0100
parents 6bb05ce1cd1f
children 5b42aefb8969
files Modules/faulthandler.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-)[+] [-] Modules/faulthandler.c 5

line wrap: on

line diff

--- a/Modules/faulthandler.c +++ b/Modules/faulthandler.c @@ -943,10 +943,13 @@ faulthandler_unregister_py(PyObject *sel static PyObject * faulthandler_read_null(PyObject *self, PyObject *args) {

+