Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!amdahl!oliveb!sun!limes From: limes@sun.uucp (Greg Limes) Newsgroups: comp.lang.c Subject: Re: Put your code... (was Re: gotos Message-ID: <51307@sun.uucp> Date: 29 Apr 88 02:43:18 GMT References: <2597@ttrdc.UUCP> <165600043@uiucdcsb> <1988Apr27.164212.12535@utzoo.uucp> Reply-To: limes@sun.UUCP (Greg Limes) Organization: Sun Microsystems, Mountain View Lines: 11 In article <1988Apr27.164212.12535@utzoo.uucp> henry@utzoo.uucp (Henry Spencer) writes: > It doesn't take much of an optimizer >to notice that the instruction sequences preceding an unconditional control- >flow merge are identical, and condense them into one by branching to the >beginning of the sequence rather than the end. So the compiler can recognize the common code -- big deal. If I have several cases, all of which want the same ten line trailer, I would rather put it in one place than spread it out in my source. This calls for a boolean, or (gasp) maybe even a goto. -- Greg Limes [limes@sun.com] frames to /dev/fb