projects
/
platform
/
upstream
/
linaro-gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
943955e
)
(finish_decl): Put RTL and other stuff in permanent_obstack if DECL
author
kenner
<kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jul 1994 16:02:05 +0000
(16:02 +0000)
committer
kenner
<kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jul 1994 16:02:05 +0000
(16:02 +0000)
is.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7679
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index
3dea89a
..
0a4b1f1
100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-3592,7
+3592,8
@@
finish_decl (decl, init, asmspec_tree)
if (TREE_CODE (decl) == VAR_DECL || TREE_CODE (decl) == FUNCTION_DECL)
{
- if (flag_traditional && allocation_temporary_p ())
+ if ((flag_traditional || TREE_PERMANENT (decl))
+ && allocation_temporary_p ())
{
push_obstacks_nochange ();
end_temporary_allocation ();