diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1992-09-15 18:07:05 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1992-09-15 18:07:05 -0700 |
commit | c47851ddce30de5239c96f1a2ce4466efefb6ea6 (patch) | |
tree | 8d9e978a5f794fff272c8c350a60ce38a9a68367 /gcc | |
parent | 61a6dd99fd27c75aa26b5740b23a0c78535b2a2d (diff) | |
download | gcc-c47851ddce30de5239c96f1a2ce4466efefb6ea6.zip gcc-c47851ddce30de5239c96f1a2ce4466efefb6ea6.tar.gz gcc-c47851ddce30de5239c96f1a2ce4466efefb6ea6.tar.bz2 |
(grokparms): Copy parm list if it isn't permanent,
instead of copying it if temporary allocation has been turned off.
From-SVN: r2131
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 5e4bbc06..faac9a2 100644 --- 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. */ |