Path: utzoo!utgpu!watmath!clyde!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: Strange lint mumblings Message-ID: <11248@haddock.ima.isc.com> Date: 20 Dec 88 18:54:55 GMT References: <416@marob.MASA.COM> <138@bms-at.UUCP> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Boston Lines: 14 In article <138@bms-at.UUCP> stuart@bms-at.UUCP (Stuart Gathman) writes: >Someone suggested on the net that 'goto' should be used in a manner similar >to 'void' in function declarations of exit(), longjmp(), and friends ... I agree with the concept, but I think that overloading yet another keyword would be a big mistake. >The compiler could then generate better code (use goto instead of call, don't >bother popping arguments, no need to flush cached variables, etc.). Note that some of these optimizations would not always be legal if the function is longjmp(), or any function which might call longjmp(). Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint