low level optimization
David Brooks
dbrooks at osf.org
Sat Apr 20 05:12:46 AEST 1991
In article <21868 at lanl.gov>, jlg at cochiti.lanl.gov (Jim Giles) writes:
|> I see that I'm going to have to give a specific example. Suppose
|> that functions A and B are in two separate files. Suppose that
|> I compile them 'together' in some way (that is, the compiler makes
|> some use of internal knowledge of B while translating A and vice-versa).
|> Now, suppose I _change_ A and retranslate just A (I do _not_ retranslate
|> B). The standard requires that I still be able to link both into a
|> single program.
This has never been the case. Using pre-ANSI syntax:
B:
some_routine(123);
A:
some_routine(arg)
int arg;
{...
A after editing:
some_routine(flag, arg)
int flag, arg;
{...
--
David Brooks dbrooks at osf.org
Systems Engineering, OSF uunet!osf.org!dbrooks
Donnie Wahlberg is brought to you by three billion years of evolution.
More information about the Comp.lang.c
mailing list