projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c1c8ea
)
(finish_decl): Put RTL and other stuff in permanent_obstack if DECL
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 8 Jul 1994 16:02:05 +0000
(12:02 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 8 Jul 1994 16:02:05 +0000
(12:02 -0400)
is.
From-SVN: r7679
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index 3dea89aea4a2cafb0524f337cddd71f4462aba2d..0a4b1f1d01e81cdc7219cdcb9c68ccfd53a95f06 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 ();