c/10143: Post increment doesn work more than once per statement

Nick Macdonald macdonn@nortelnetworks.com
Wed Mar 19 14:06:00 GMT 2003


The following reply was made to PR c/10143; it has been noted by GNATS.

From: "Nick Macdonald" <macdonn@nortelnetworks.com>
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



More information about the Gcc-prs mailing list