This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: pointer post-incr problem with GCC 3.3.3 ??
- From: Falk Hueffner <hueffner at informatik dot uni-tuebingen dot de>
- To: Graham Stott <graham dot stott at btinternet dot com>
- Cc: Ron Flory <ron dot flory at adtran dot com>, gcc-bugs at gcc dot gnu dot org,"Ron Flory, Home" <rjflory at mchsi dot com>
- Date: Fri, 18 Jun 2004 16:21:46 +0200
- Subject: Re: pointer post-incr problem with GCC 3.3.3 ??
- References: <20040618141140.64755.qmail@web86108.mail.ukl.yahoo.com>
Graham Stott <graham.stott@btinternet.com> writes:
>> *(ptr++) = toupper(*ptr);
>>
>> I would assert these two code frags are functionally identical.
>>
> Nope your assertion is wrong.
>
> Read up on "sequence points" and you'll undersrand why.
I don't see this. Can you please explain in detail where the violation
is?
--
Falk