summaryrefslogtreecommitdiff
path: root/cutils.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-02-23 19:21:00 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-23 13:23:29 -0600
commit1d9000e8238ffc346b0a08f4c0619c4e5711a7dc (patch)
tree2158b67e6676519bc74ab0d73813972e9e85b725 /cutils.c
parent3399e30f562df9f67ccad4d4f4367d31120f996f (diff)
downloadqemu-1d9000e8238ffc346b0a08f4c0619c4e5711a7dc.tar.gz
declare saved_env_reg as volatile
This ensures that the compiler does not move it away from the "env = env1;" assignment. Fixes a miscompilation on gcc 4.4, reported by Jay Foad. Cc: <jay.foad@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cutils.c')
0 files changed, 0 insertions, 0 deletions