From: Richard Kenner Date: Sat, 26 Jun 1993 15:19:08 +0000 (-0400) Subject: (compile_file): Switch to temporary allocation when writing out inline X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86ef2ef98cf22c2d5a3051d0ebca9b3bdcaa9430;p=gcc.git (compile_file): Switch to temporary allocation when writing out inline functions. From-SVN: r4754 --- 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.