Strange lint mumblings

Karl Heuer karl at haddock.ima.isc.com
Wed Dec 21 04:54:55 AEST 1988


In article <138 at bms-at.UUCP> stuart at 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 at haddock.isc.com), The Walking Lint



More information about the Comp.lang.c mailing list