From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7574 invoked by alias); 19 Mar 2003 14:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 7420 invoked by uid 71); 19 Mar 2003 14:06:00 -0000 Date: Wed, 19 Mar 2003 14:06:00 -0000 Message-ID: <20030319140600.7419.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Nick Macdonald" Subject: Re: c/10143: Post increment doesn work more than once per statement Reply-To: "Nick Macdonald" X-SW-Source: 2003-03/txt/msg01268.txt.bz2 List-Id: The following reply was made to PR c/10143; it has been noted by GNATS. From: "Nick Macdonald" To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org Cc: Subject: Re: c/10143: Post increment doesn work more than once per statement Date: Wed, 19 Mar 2003 09:02:17 -0500 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10143 If this is not a bug then can someone please point me at an indication in the standard that indicates how this is correct behaviour? (Is there a FAQ entry somewhere that deals with this issue?) It is certainly not what I expect, nor what other compilers do. And I cannot understand why pre-increment would be different than post-increment. -- Nick MacDonald Nortel Networks macdonn@nortelnetworks.com