[Bug fortran/59700] [4.8/4.9 Regression] Misleading/buggy runtime error message: Bad integer for item 0 in list input

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Thu Jan 9 21:27:00 GMT 2014


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.



More information about the Gcc-bugs mailing list