Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker.mit.edu!ira.uka.de!smurf!urlichs From: urlichs@smurf.sub.org (Matthias Urlichs) Newsgroups: comp.sys.mac.programmer Subject: Re: Increment (Was Re: Pascal deficiency)? Message-ID: <0&%[g2.^y@smurf.sub.org> Date: 30 Dec 90 19:55:04 GMT References: <47576@apple.Apple.COM> <1530@carol.fwi.uva.nl> <47610@apple.Apple.COM> Organization: University of Karlsruhe, FRG Lines: 25 In comp.sys.mac.programmer, article <47610@apple.Apple.COM>, keith@Apple.COM (Keith Rollin) writes: < In article <1530@carol.fwi.uva.nl> freek@fwi.uva.nl (Freek Wiedijk) writes: < > < >What happens if you declare empty static and compile the program with the < >flag -finline-functions? I do not have gcc for MPW, so I cannot try it < >myself. I am very curious what will be left. < < static void empty(int i) {}; < main() { int i = 1; empty(++i); }; < reduces to: < Module: Flags=$00=(Local Code) Module="main%"(1) Segment="Main"(2) < 00000000: 4E56 0000 'NV..' LINK A6,#$0000 < 00000004: 4E5E 'N^' UNLK A6 < 00000006: 4E75 'Nu' RTS <