aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2002-11-23 02:07:13 +0000
committerDale Johannesen <dalej@gcc.gnu.org>2002-11-23 02:07:13 +0000
commit2bb74773dadef19ec1f362b875e028ce722b1d46 (patch)
tree72c911a2461b54b18f97b439d5c7784c7591b30c
parent199cbacc9083bdb7d02bae97a2986a213e4a8929 (diff)
downloadgcc-2bb74773dadef19ec1f362b875e028ce722b1d46.zip
gcc-2bb74773dadef19ec1f362b875e028ce722b1d46.tar.gz
gcc-2bb74773dadef19ec1f362b875e028ce722b1d46.tar.bz2
toplev.c (rest_of_compilation): Fix comments.
2002-11-22 Dale Johannesen <dalej@apple.com> * toplev.c (rest_of_compilation): Fix comments. From-SVN: r59397
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/toplev.c16
2 files changed, 13 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3f33377..60a061a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-22 Dale Johannesen <dalej@apple.com>
+
+ * toplev.c (rest_of_compilation): Fix comments.
+
2002-11-22 Geoffrey Keating <geoffk@apple.com>
* aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 9e57576..33f668b 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -2479,10 +2479,11 @@ rest_of_compilation (decl)
convert_from_eh_region_ranges ();
/* If function is inline, and we don't yet know whether to
- compile it by itself, defer decision till end of compilation.
- finish_compilation will call rest_of_compilation again
- for those functions that need to be output. Also defer those
- functions that we are supposed to defer. */
+ compile it by itself, defer decision till end of compilation.
+ wrapup_global_declarations will (indirectly) call
+ rest_of_compilation again for those functions that need to
+ be output. Also defer those functions that we are supposed
+ to defer. */
if (inlinable
|| (DECL_INLINE (decl)
@@ -3607,9 +3608,10 @@ rest_of_compilation (decl)
know for certain that we will be generating an out-of-line copy,
the first invocation of this routine (rest_of_compilation) will
skip over this code by doing a `goto exit_rest_of_compilation;'.
- Later on, finish_compilation will call rest_of_compilation again
- for those inline functions that need to have out-of-line copies
- generated. During that call, we *will* be routed past here. */
+ Later on, wrapup_global_declarations will (indirectly) call
+ rest_of_compilation again for those inline functions that need
+ to have out-of-line copies generated. During that call, we
+ *will* be routed past here. */
timevar_push (TV_SYMOUT);
(*debug_hooks->function_decl) (decl);