Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rick From: rick@seismo.CSS.GOV (Rick Adams) Newsgroups: comp.unix.questions Subject: Re: Wierd Compilers Message-ID: <44177@beno.seismo.CSS.GOV> Date: Tue, 3-Nov-87 17:27:26 EST Article-I.D.: beno.44177 Posted: Tue Nov 3 17:27:26 1987 Date-Received: Sat, 7-Nov-87 02:30:53 EST References: <367@white.gcm> <18964@amdcad.AMD.COM> Organization: Center for Seismic Studies, Arlington, VA Lines: 10 Keywords: Sun Summary: -O Even a mediocre compiler should be able to recognize that a++; is equivalent to ++a; if there is no assignment, etc. There is really no excuse for not making this trivial optimization. You should not have to depend on the user doing it. --rick