This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unit at time compilation mode III
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Richard dot Earnshaw at arm dot com
- Cc: Geert Bosch <bosch at gnat dot com>, Jan Hubicka <jh at suse dot cz>, Fergus Henderson <fjh at cs dot mu dot oz dot au>, Richard Henderson <rth at redhat dot com>, Zack Weinberg <zack at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: 13 Feb 2003 12:04:07 -0200
- Subject: Re: Unit at time compilation mode III
- Organization: GCC Team, Red Hat
- References: <200302131342.h1DDgLn10734@pc960.cambridge.arm.com>
On Feb 13, 2003, Richard Earnshaw <rearnsha@arm.com> wrote:
> Precisely why I'm not keen on "unit-at-once" -- it's not clear what the
> "unit" is.
The C and C++ standards talk about translation units. I always read
`unit' here as shorthand for that.
> - function-at-once intra-function optimization
> - file-at-once optimize over everything in the "file"
> - all-at-once optimize over all files on the command line
file would be wrong, since you'll seldom see a translation unit that
draws code from a single file (i.e., that doesn't #include anything
else).
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer