Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!ucbvax!ucbcad!nike!cit-vax!elroy!smeagol!usc-oberon!blarson From: blarson@usc-oberon.UUCP (Bob Larson) Newsgroups: net.lang.c Subject: Re: Re: Expression sequencing query Message-ID: <165@usc-oberon.UUCP> Date: Wed, 1-Oct-86 04:39:00 EDT Article-I.D.: usc-ober.165 Posted: Wed Oct 1 04:39:00 1986 Date-Received: Fri, 3-Oct-86 07:59:17 EDT References: <4230@brl-smoke.ARPA> <8161@watrose.UUCP> Reply-To: blarson@usc-oberon.UUCP (Bob Larson) Distribution: na Organization: USC Computing Services, Los Angeles, CA Lines: 12 In article <8161@watrose.UUCP> mdapoz@watrose.UUCP (Mark Dapoz) writes: >In article <4230@brl-smoke.ARPA> KLH@SRI-NIC.ARPA (Ken Harrenstien) writes: >>Someone asked what other compilers produced for the expression: >> a = ((b=1),b) + ((b=2),b) + ((b=3),b); Microware C 2.0 for os9/68k has correct answers for both int and register int declarations of a and b. In other words, a is between 6 and 9 inclusive and b is between 1 and 3 inclusive. (If anyone is curious, a happens to be 6 and b happens to be 3, but I don't see how this matters.) -- Bob Larson Arpa: Blarson@Usc-Eclb.Arpa or blarson@usc-oberon.arpa Uucp: (ihnp4,hplabs,tektronix)!sdcrdcf!usc-oberon!blarson