Commit c47851dd by Jim Wilson

(grokparms): Copy parm list if it isn't permanent,

instead of copying it if temporary allocation has been turned off.

From-SVN: r2131
parent 61a6dd99
...@@ -4496,7 +4496,7 @@ grokparms (parms_info, funcdef_flag) ...@@ -4496,7 +4496,7 @@ grokparms (parms_info, funcdef_flag)
} }
/* Allocate the list of types the way we allocate a type. */ /* 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 /* Construct a copy of the list of types
on the saveable obstack. */ on the saveable obstack. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment