Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!imagen!atari!portal!cup.portal.com!Terry_L_Parker From: Terry_L_Parker@cup.portal.com Newsgroups: comp.lang.c Subject: Re: Possible C Anomaly Message-ID: <946@cup.portal.com> Date: Tue, 13-Oct-87 05:33:49 EDT Article-I.D.: cup.946 Posted: Tue Oct 13 05:33:49 1987 Date-Received: Wed, 14-Oct-87 07:14:21 EDT References: <9601@brl-adm.ARPA> <866@sugar.UUCP> Organization: The Portal System (TM) Lines: 7 XPortal-User-Id: 1.1001.2374 The difference between k-- and k-1 may be in the resulting code the compiler creates. k-- would automatically create a DEC type of instruction while k-1 would create a SUB , where "reg" is a register (or memory address) and "value" would be 1. Though I would think a compiler that does a decent job of optimization would automatically turn any SUB ,1 's into DEC's, but you never know.