Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!gatech!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix-wizards Subject: Re: C compiler implements wrong semantics Message-ID: <3014@umcp-cs.UUCP> Date: Sun, 2-Feb-86 10:05:32 EST Article-I.D.: umcp-cs.3014 Posted: Sun Feb 2 10:05:32 1986 Date-Received: Mon, 3-Feb-86 06:33:12 EST References: <2147@brl-tgr.ARPA> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 9 PCC is neither `right' nor `wrong'; the behaviour of that kind of code (`a++ + a') is specifically left undefined. (The ANSI draft has the notion of `sequence points' after which all side effects should have taken place. An addition within a single expression is not a sequence point.) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1415) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu