This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/10143: Post increment doesn work more than once per statement
- From: "Nick Macdonald" <macdonn at nortelnetworks dot com>
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org
- Date: Wed, 19 Mar 2003 09:02:17 -0500
- Subject: Re: c/10143: Post increment doesn work more than once per statement
- Organization: Nortel Networks
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 at nortelnetworks dot com