Path: utzoo!attcan!uunet!vsi!friedl From: friedl@vsi.UUCP (Stephen J. Friedl) Newsgroups: comp.lang.c Subject: Re: inlining Summary: AT&T's compiler do inline expansion now Keywords: C FORTRAN exponentiation Message-ID: <742@vsi.UUCP> Date: 2 Jul 88 18:08:38 GMT References: <3136@phoenix.Princeton.EDU> <19633@watmath.waterloo.edu> <12279@mimsy.UUCP> Organization: V-Systems, Inc. -- Santa Ana, CA Lines: 23 In article <20520@beta.lanl.gov> jlg@beta.lanl.gov (Jim Giles) writes: >... C doesn't do [inline function expansion (as I've pointed out before). >The C language definition (such as it is) doesn't allow it. Then in article <12279@mimsy.UUCP>, chris@mimsy.UUCP (Chris Torek) writes: > Not so. It merely (?!) makes it difficult. AT&T's 3B2 C compilers have done this since (at least) Issue 3. There are flags to the optimizer that tell it how much expansion it can do (time-vs-space tradeoffs), and there are assembler macros as well. Warning: inline expansion make disassembly quite difficult :-). Steve P.S. - anybody wanting info on how to invoke this on the 3B2 can send mail to me. -- Steve Friedl V-Systems, Inc. (714) 545-6442 3B2-kind-of-guy friedl@vsi.com {backbones}!vsi.com!friedl attmail!vsi!friedl Nancy Reagan on John DeLorean: "Just say snow"