This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unit at time compilation mode III



On Thursday, Feb 13, 2003, at 04:49 America/New_York, Richard Earnshaw wrote:
Both of these are what I really think of as file-at-once.

unit-at-once (or inter-file) is more what I would expect to happen if the
user specified

gcc -Oxxx -finter-file a.c b.c c.c d.c
But what here is the unit? Mostly people refer to compilation unit
as the smallest amount of code that can be compiled in a single
compilation. In the usual C compilation environment this would
result in one object file. The example you are giving is inter-unit
 optimization.

Basically we have
  - function-at-once   intra-function optimization
  - unit-at-once       inter-function, intra-unit optimization
  - all-at-once        inter-unit optimization


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]