]> gcc.gnu.org Git - gcc.git/commitdiff
(compile_file): Switch to temporary allocation when writing out inline
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 26 Jun 1993 15:19:08 +0000 (11:19 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 26 Jun 1993 15:19:08 +0000 (11:19 -0400)
functions.

From-SVN: r4754

gcc/toplev.c

index f45ca99bc91049b8115546544f6352bc3fb3d9d9..05fef4d28b76452af6050103592c25be65c9d9c8 100644 (file)
@@ -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.
This page took 0.067973 seconds and 5 git commands to generate.