projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61a6dd9
)
(grokparms): Copy parm list if it isn't permanent,
author
Jim Wilson
<wilson@gcc.gnu.org>
Wed, 16 Sep 1992 01:07:05 +0000
(18:07 -0700)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Wed, 16 Sep 1992 01:07:05 +0000
(18:07 -0700)
instead of copying it if temporary allocation has been turned off.
From-SVN: r2131
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index 5e4bbc0623d3a5167b07dc45e292b8a8dfa6ba0b..faac9a2f0d4b2ff633814f570513cdd40abb974c 100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-4496,7
+4496,7
@@
grokparms (parms_info, funcdef_flag)
}
/* Allocate the list of types the way we allocate a type. */
- if (
allocation_temporary_p (
))
+ if (
first_parm && ! TREE_PERMANENT (first_parm
))
{
/* Construct a copy of the list of types
on the saveable obstack. */