From: Richard Stallman Date: Sun, 21 Jun 1992 21:57:36 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4724d87a5aa533a481a4f1c79804ebfa28e48c87;p=gcc.git *** empty log message *** From-SVN: r1229 --- diff --git a/gcc/varasm.c b/gcc/varasm.c index 5c3f7e18a36..3e54ce8811d 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -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; +} /* Output a string of literal assembler code for an `asm' keyword used between functions. */