aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/lib/libdtrace
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2016-08-16 02:14:36 +0000
committerMark Johnston <markj@FreeBSD.org>2016-08-16 02:14:36 +0000
commitba69823e5c1d558c1048833e21431c66b95d6764 (patch)
treeb604b9b81549b276113d9add9ca7a7013860b9e5 /cddl/contrib/opensolaris/lib/libdtrace
parent684d18c9ae39dae5bed91bf80a0a73691ef992f7 (diff)
parentda3d1eecc53f33ca3b05fdf56679ce4b2b4f0ea0 (diff)
downloadsrc-ba69823e5c1d558c1048833e21431c66b95d6764.tar.gz
src-ba69823e5c1d558c1048833e21431c66b95d6764.zip
MFV r304056:
5396 fix longjmp clobbering errors illumos/illumos-gate@67a4bb8f9ad4c49e9aa9e21e2114a7c093c3a73a Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net> Author: Gary Mills <gary_mills@fastmail.fm>
Notes
Notes: svn path=/head/; revision=304195
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libdtrace')
-rw-r--r--cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c
index 84f8661e3fb4..cf69befa6b99 100644
--- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c
+++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c
@@ -23,6 +23,7 @@
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, Joyent Inc. All rights reserved.
* Copyright (c) 2012 by Delphix. All rights reserved.
+ * Copyright 2015 Gary Mills
*/
/*
@@ -2435,7 +2436,7 @@ dt_compile(dtrace_hdl_t *dtp, int context, dtrace_probespec_t pspec, void *arg,
dt_node_t *dnp;
dt_decl_t *ddp;
dt_pcb_t pcb;
- void *rv;
+ void *volatile rv;
int err;
if ((fp == NULL && s == NULL) || (cflags & ~DTRACE_C_MASK) != 0) {