OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63b3279
)
*** empty log message ***
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Jun 1992 21:57:36 +0000
(21:57 +0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Jun 1992 21:57:36 +0000
(21:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1229
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/varasm.c
patch
|
blob
|
history
diff --git
a/gcc/varasm.c
b/gcc/varasm.c
index
5c3f7e1
..
3e54ce8
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. */