This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This is another regression that I set off. I take it to be urgent, since it came up on comp.lang.fortran.
I will commit this at the same time as PR32526, as obvious, unless there are any objections overnight.
PS I realise that I am telling a lie. The PR and the patch do not speak for temselves completely. I should have said that the do-loop index in the contained function 'internal' was the cause of the trouble, since it was getting labeled as an implicit do loop iterator variable. This led the reference to 'i' in the call of the statement function to generate a local declaration.
PR fortran/32613 * match.c (gfc_match_do): Reset the implied_index attribute.
PR fortran/32613 * gfortran.dg/do_iterator_2.f90: New test.
Attachment:
pr32613.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |