aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@casey.cygnus.com>2000-04-26 07:22:10 +0000
committerJason Merrill <jason@gcc.gnu.org>2000-04-26 03:22:10 -0400
commit7d2e8eff6f328de85c033a212e488193d7cfb239 (patch)
tree0bd5f3cf33dbbf6c76e4060f2526c90431a7fd7b
parent70576b754e418873c2848d4289d8fd8f9093b65f (diff)
downloadgcc-7d2e8eff6f328de85c033a212e488193d7cfb239.zip
gcc-7d2e8eff6f328de85c033a212e488193d7cfb239.tar.gz
gcc-7d2e8eff6f328de85c033a212e488193d7cfb239.tar.bz2
integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT before calling rest_of_compilation.
* integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT before calling rest_of_compilation. From-SVN: r33441
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/integrate.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fdb20df..2b4193c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-26 Jason Merrill <jason@casey.cygnus.com>
+
+ * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
+ before calling rest_of_compilation.
+
2000-04-26 Andreas Jaeger <aj@suse.de>
* config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 622acf4..ffecfa44 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -2737,12 +2737,12 @@ output_inline_function (fndecl)
set_new_last_label_num (f->inl_max_label_num);
- /* Compile this function all the way down to assembly code. */
- rest_of_compilation (fndecl);
-
/* We're not deferring this any longer. */
DECL_DEFER_OUTPUT (fndecl) = 0;
+ /* Compile this function all the way down to assembly code. */
+ rest_of_compilation (fndecl);
+
/* We can't inline this anymore. */
f->inlinable = 0;
DECL_INLINE (fndecl) = 0;