[gnu.gcc.bug] usage of inline functions

prange@ERL.MIT.EDU (Michael D. Prange) (01/03/89)

I have a question about the usage of inline functions.  I have several
source files which use complex arithmetic functions such as Cadd.
Many of these arithmetic functions are so simple that inline
expansions would probably improve efficiency.  My question is this:
will inline functions only "macro expand" in the source file where
they are defined?  If so, is the proper approach to #include these
arithmetic functions as inline static at the top of each source file
that uses them?

Michael