aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-06-26 11:19:08 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-06-26 11:19:08 -0400
commit86ef2ef98cf22c2d5a3051d0ebca9b3bdcaa9430 (patch)
tree174fe07ad72b3c0e8635a84956a0275e27548c9d
parenta6dd1cb60d068f415ea19c44783105a8da567364 (diff)
downloadgcc-86ef2ef98cf22c2d5a3051d0ebca9b3bdcaa9430.zip
gcc-86ef2ef98cf22c2d5a3051d0ebca9b3bdcaa9430.tar.gz
gcc-86ef2ef98cf22c2d5a3051d0ebca9b3bdcaa9430.tar.bz2
(compile_file): Switch to temporary allocation when writing out inline
functions. From-SVN: r4754
-rw-r--r--gcc/toplev.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index f45ca99..05fef4d 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.