This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Further C / ObjC initialization cleanup
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Cc: Neil Booth <neil at daikokuya dot demon dot co dot uk>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 28 Nov 2001 13:48:13 +1300
- Subject: Re: RFA: Further C / ObjC initialization cleanup
- References: <Pine.LNX.4.33.0111272130120.31927-100000@kern.srcf.societies.cam.ac.uk>
Joseph S. Myers wrote:
>On Tue, 27 Nov 2001, Neil Booth wrote:
>
>>2) Since that creates more common code between C and ObjC, I've
>> created c-objc-common.c and moved it from c-lang.c to there
>>
>
>You failed to update doc/passes.texi. (That file also ought to have been
>updated when c-dump.c and c-dump.h were renamed.)
>
OK, thanks for pointing that out. I checked in the following.
regards
Bryce.
2001-11-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
doc.
Index: passes.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/passes.texi,v
retrieving revision 1.2
diff -u -r1.2 passes.texi
--- passes.texi 2001/11/27 22:31:32 1.2
+++ passes.texi 2001/11/28 00:42:49
@@ -112,7 +112,6 @@
The files
@file{c-common.c},
@file{c-common.def},
-@file{c-dump.c},
@file{c-format.c},
@file{c-pragma.c},
@file{c-semantics.c},
@@ -135,11 +134,10 @@
@cindex inline on trees, automatic
Currently, the main optimization performed here is tree-based
inlining.
-This is implemented for C++ in @file{cp/optimize.c}. Note that
-tree based inlining turns off rtx based inlining (since it's more
+This is implemented in @file{tree-inline.c} and used by both C and C++.
+Note that tree based inlining turns off rtx based inlining (since it's more
powerful, it would be a waste of time to do rtx based inlining in
addition).
-The C front end currently does not perform tree based inlining.
@cindex constant folding
@cindex arithmetic simplifications