* decl.c (start_function): Don't call temporary_allocation for a
nested function.
From-SVN: r18356
+Mon Mar 2 11:04:59 1998 Jim Wilson <wilson@cygnus.com>
+
+ * decl.c (start_function): Don't call temporary_allocation for a
+ nested function.
+
Sun Mar 1 21:06:37 1998 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (instantiate_class_template): Don't mess with friends if
TREE_THIS_VOLATILE (DECL_RESULT (decl1)) = TYPE_VOLATILE (restype);
}
- /* Allocate further tree nodes temporarily during compilation
- of this function only. Tiemann moved up here from bottom of fn. */
+ /* Allocate further tree nodes temporarily during compilation
+ of this function only. Tiemann moved up here from bottom of fn. */
+ /* If this is a nested function, then we must continue to allocate RTL
+ on the permanent obstack in case we need to inline it later. */
+ if (! hack_decl_function_context (decl1))
temporary_allocation ();
if (processing_template_decl)