From 86ef2ef98cf22c2d5a3051d0ebca9b3bdcaa9430 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 26 Jun 1993 11:19:08 -0400 Subject: [PATCH] (compile_file): Switch to temporary allocation when writing out inline functions. From-SVN: r4754 --- gcc/toplev.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/toplev.c b/gcc/toplev.c index f45ca99bc91..05fef4d28b7 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1,5 +1,5 @@ /* Top level of GNU C compiler - Copyright (C) 1987, 1988, 1989, 1992 Free Software Foundation, Inc. + Copyright (C) 1987, 1988, 1989, 1992, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -1930,7 +1930,11 @@ compile_file (name) && (TREE_ADDRESSABLE (decl) || TREE_ADDRESSABLE (DECL_ASSEMBLER_NAME (decl))) && ! DECL_EXTERNAL (decl)) - output_inline_function (decl); + { + temporary_allocation (); + output_inline_function (decl); + permanent_allocation (); + } /* Warn about any function declared static but not defined. -- 2.30.2