Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.bugs.4bsd Subject: AARGH [Re: article <1311@umcp-cs.UUCP> auto incr PCC bug] Message-ID: <1811@umcp-cs.UUCP> Date: Thu, 13-Dec-84 05:38:10 EST Article-I.D.: umcp-cs.1811 Posted: Thu Dec 13 05:38:10 1984 Date-Received: Sat, 15-Dec-84 00:27:59 EST Distribution: net Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 18 Someone mailed back an appropriate piece of my original article. Now I know what confused everyone: I accidently interchanged two numbers. I said (wrongly) that given code similar to typedef struct { short i, j; } ty; f() { register ty *p; p++->i; } PCC generated an increment by 4 instead of 2. The fact is that PCC generated an increment by 2 instead of 4, and *that* is what I fixed. Sigh.... -- (This line accidently left nonblank.) In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (301) 454-7690 UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland