http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59700

--- Comment #11 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Thu, Jan 09, 2014 at 09:27:03PM +0000, dominiq at lps dot ens.fr wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59700
> 
> --- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > > Do you understand the '++' in
> > > 
> > > 642      dtp->u.p.line_buffer[dtp->u.p.item_count++] = c;
> > > 
> > > ?
> >
> > It's C post-increment operator. ...
> 
> The question was not about the syntax, but about the functionality: i.e., I
> expect dtp->u.p.item_count to be incremented when an item has been processed,
> but not at the above point.
> 

Oh.  I haven't looked at the code that closely.  This is certainly
a possible source of the issue with the improper counting.

Reply via email to