Print this page
5396 gcc 4.8.2 longjmp errors for cscope-fast

@@ -21,10 +21,11 @@
 
 /*
  * 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
  */
 
 /*
  * DTrace D Language Compiler
  *

@@ -2333,11 +2334,11 @@
     uint_t cflags, int argc, char *const argv[], FILE *fp, const char *s)
 {
         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) {
                 (void) dt_set_errno(dtp, EINVAL);
                 return (NULL);