Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!topaz.rutgers.edu!ron From: ron@topaz.rutgers.edu (Ron Natalie) Newsgroups: comp.lang.c,misc.jobs.misc Subject: Re: C test Message-ID: <13679@topaz.rutgers.edu> Date: Mon, 3-Aug-87 17:31:57 EDT Article-I.D.: topaz.13679 Posted: Mon Aug 3 17:31:57 1987 Date-Received: Tue, 4-Aug-87 05:18:26 EDT References: <1090@gilsys.UUCP> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 16 Keywords: employer, test, C, weird Xref: mnetor comp.lang.c:3450 misc.jobs.misc:534 { if (A) { B; return; } if (C) { D; return; } if (E) { F; return; } G; return; } is efficiently replaced by { return; } since the computed values B, D, F, and G are ignored. Unless, the symbols A through G are supposed to indicate arbitrary expressions that have side effects such as assignments or function calls in them. -Ron