aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-12-24 20:24:16 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-12-24 20:24:16 +0000
commitde23a892abbc9af353ebbaf9e0021445deb27638 (patch)
tree3d273b67279f2daebabe8587668ca4ef7df11f20 /gcc/cp
parent9376fcd631f21656c9544b5a9355f31618b2d63a (diff)
downloadgcc-de23a892abbc9af353ebbaf9e0021445deb27638.zip
gcc-de23a892abbc9af353ebbaf9e0021445deb27638.tar.gz
gcc-de23a892abbc9af353ebbaf9e0021445deb27638.tar.bz2
toplev.h (note_deferall_of_defined_inline_function): Declare.
* toplev.h (note_deferall_of_defined_inline_function): Declare. * toplev.c (note_deferral_of_defined_inline_function): New function, split out from ... (rest_of_compilation): ... here. Use it. * semantics.c (expand_body): Use note_deferral_of_defined_inline_function. From-SVN: r31088
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/semantics.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 64c7279..f8936b6 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+1999-12-24 Mark Mitchell <mark@codesourcery.com>
+
+ * semantics.c (expand_body): Use
+ note_deferral_of_defined_inline_function.
+
1999-12-22 Mark Mitchell <mark@codesourcery.com>
* dump.c (dequeue_and_dump): Handle CTOR_STMTs.
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 1790ef4..d55ee15 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -2694,6 +2694,8 @@ expand_body (fn)
/* Remember this function. In finish_file we'll decide if
we actually need to write this function out. */
mark_inline_for_output (fn);
+ /* Let the back-end know that this funtion exists. */
+ note_deferral_of_defined_inline_function (fn);
return;
}