This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Is this a bug?
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Songtao Chen <songtao at cisco dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 2 Jan 2003 21:23:30 +0000
- Subject: Re: Is this a bug?
- References: <4.3.2.7.2.20030102162123.020738d8@toque.cisco.com>
Songtao Chen wrote:-
> Hi there,
>
> It appears to be a bug to me.
No, i++ returns the value before increment. Parentheses are irrelevant.
Neil.