This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: comments
- From: Dale Johannesen <dalej at apple dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Dale Johannesen <dalej at apple dot com>
- Date: Fri, 22 Nov 2002 18:05:11 -0800
- Subject: Patch: comments
Two comments in toplev.c referred to finish_compilation, which doesn't
exist.
Committed as obvious.
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 1.15976
diff -u -d -b -w -c -3 -p -r1.15976 ChangeLog
cvs server: conflicting specifications of output style
*** ChangeLog 23 Nov 2002 00:20:08 -0000 1.15976
--- ChangeLog 23 Nov 2002 02:02:39 -0000
***************
*** 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
Index: toplev.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/toplev.c,v
retrieving revision 1.688
diff -u -d -b -w -c -3 -p -r1.688 toplev.c
cvs server: conflicting specifications of output style
*** toplev.c 2 Nov 2002 01:03:02 -0000 1.688
--- toplev.c 23 Nov 2002 02:02:39 -0000
*************** rest_of_compilation (decl)
*** 2480,2488 ****
/* 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. */
if (inlinable
|| (DECL_INLINE (decl)
--- 2480,2489 ----
/* If function is inline, and we don't yet know whether to
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)
*************** rest_of_compilation (decl)
*** 3607,3615 ****
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. */
timevar_push (TV_SYMOUT);
(*debug_hooks->function_decl) (decl);
--- 3608,3617 ----
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, 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);