*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Sun, 21 Jun 1992 21:57:36 +0000 (21:57 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 21 Jun 1992 21:57:36 +0000 (21:57 +0000)
From-SVN: r1229

gcc/varasm.c

index 5c3f7e18a3644bf9d77f39621db4705e184c2bac..3e54ce8811de51b354e3362eec80c1f1b7a40ae0 100644 (file)
@@ -394,6 +394,18 @@ make_decl_rtl (decl, asmspec, top_level)
        }
     }
 }
+
+/* Make the rtl for variable VAR be volatile.
+   Use this only for static variables.  */
+
+make_var_volatile (var)
+     tree var;
+{
+  if (GET_CODE (DECL_RTL (var)) != MEM)
+    abort ();
+
+  MEM_VOLATILE_P (DECL_RTL (var)) = 1;
+}
 \f
 /* Output a string of literal assembler code
    for an `asm' keyword used between functions.  */