This is the mail archive of the gcc@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: proposal for compilation unil wide alias analyis


On Monday 28 June 2004 13:43, Kenneth Zadeck wrote:
> It depends on what you mean as IPA.  For C and I assume Fortran, most
> compilation is single file at a time (except when one is compiling for
> benchmarks).  What I noticed was that even at the file at a time mode,
> in C,  there was a significant amount of information that was being
> thrown away.
>
> I would assume that what you are doing is only going to get results for
> compiling whole programs.
> I could be wrong here, but the last time I looked at fortran, it had
> fewer functions per file than C.

Fortran doesn't have file-level scope. Each program unit[1] is entirely 
self-contained. If you do have many separate files, You can use "cat" to 
merge them together, then compile the result.

Paul

[1] A program unit is a function/subroutine/module/program block. Contained 
procedures may be nested within these toplevel blocks.


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