Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!uakari.primate.wisc.edu!ames!sgi!shinobu!odin!delrey!shap From: shap@delrey.sgi.com (Jonathan Shapiro) Newsgroups: comp.lang.c++ Subject: Re: cfront and inline (LONG) (Re: Why doesn't inline always work?) Message-ID: <5119@odin.SGI.COM> Date: 10 Mar 90 22:47:10 GMT References: <540@janus.Quotron.com> <5041@odin.SGI.COM> <5756@videovax.tv.tek.com> Sender: news@odin.SGI.COM Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 17 In article <5756@videovax.tv.tek.com> bart@videovax.tv.tek.com (Bart Massey) writes: >In article <5041@odin.SGI.COM> shap@delrey.sgi.com (Jonathan Shapiro) writes: >> The problem is that in order to perform inlining, cfront turns the >> function into a single expression (remember that the function needs to >> return a result, so it needs to be an expression). > >The stuff in parentheses above just isn't true. Harumph. Andy Koenig was kind enough to point out the error of my statement. It isn't that the expressions can't be rewritten - it's that they cannot be rewritten easily. In fact, it's rather complicated. Embarassing - a moment's thought would have let me figure that out for myself. Jon Shapiro