projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52b6a22
)
*** empty log message ***
author
Richard Stallman
<rms@gnu.org>
Sun, 21 Jun 1992 21:57:36 +0000
(21:57 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 21 Jun 1992 21:57:36 +0000
(21:57 +0000)
From-SVN: r1229
gcc/varasm.c
patch
|
blob
|
history
diff --git
a/gcc/varasm.c
b/gcc/varasm.c
index 5c3f7e18a3644bf9d77f39621db4705e184c2bac..3e54ce8811de51b354e3362eec80c1f1b7a40ae0 100644
(file)
--- 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;
+}
\f
/* Output a string of literal assembler code
for an `asm' keyword used between functions. */