summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-23 02:07:13 +0000
committerdalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-23 02:07:13 +0000
commitf3d7e813610f46d3eaaf4a0fa09c4d45e4640448 (patch)
tree72c911a2461b54b18f97b439d5c7784c7591b30c
parentfed269b32629f7fb98da5ab4aec225105038fffe (diff)
downloadppe42-gcc-f3d7e813610f46d3eaaf4a0fa09c4d45e4640448.tar.gz
ppe42-gcc-f3d7e813610f46d3eaaf4a0fa09c4d45e4640448.zip
2002-11-22 Dale Johannesen <dalej@apple.com>
* toplev.c (rest_of_compilation): Fix comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59397 138bc75d-0d04-0410-961f-82ee72b054a4
-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 3f333778338..60a061a42ff 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 9e57576ebab..33f668b2407 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);
OpenPOWER on IntegriCloud