From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4603 invoked by alias); 25 Mar 2004 18:12:22 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 4577 invoked from network); 25 Mar 2004 18:12:17 -0000 Received: from unknown (HELO mirapoint1.tis.cwru.edu) (129.22.104.46) by sources.redhat.com with SMTP; 25 Mar 2004 18:12:17 -0000 Received: from multivac.cwru.edu (multivac.ITS.CWRU.Edu [129.22.114.26]) by mirapoint1.tis.cwru.edu (MOS 3.4.3-CR) with SMTP id BAD58045; Thu, 25 Mar 2004 13:12:03 -0500 (EST) Received: (qmail 18479 invoked by uid 500); 25 Mar 2004 18:12:25 -0000 To: law@redhat.com Cc: gcc@gcc.gnu.org Subject: Re: Question for ISO C standards gurus In-Reply-To: <200403251803.i2PI384m020124@speedy.slc.redhat.com> (law@redhat.com's message of "Thu, 25 Mar 2004 11:03:07 -0700") References: <200403251803.i2PI384m020124@speedy.slc.redhat.com> From: prj@po.cwru.edu (Paul Jarc) Organization: What did you have in mind? A short, blunt, human pyramid? Mail-Copies-To: nobody Mail-Followup-To: law@redhat.com, gcc@gcc.gnu.org Date: Thu, 25 Mar 2004 18:59:00 -0000 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-03/txt/msg01492.txt.bz2 law@redhat.com wrote: > if (!(names = ecgetlist(state, *state->pc++, 2, &htok))) { ... > Of particular interest is whether or not the increment occurs before > the call or after the call. n869, 6.5.2.2p10: # The order of evaluation of the function designator, the actual # arguments, and subexpressions within the actual arguments is # unspecified, but there is a sequence point before the actual call. So the side effect would take place before the sequence point, and thus before the call. n869 was the latest public draft of C99; I don't have a copy of the final standard. It's possible that this might have changed. paul