re PR fortran/44353 (rejects legal fortran)
2010-07-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/44353 * match.c (gfc_match_iterator): Revert. 2010-07-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/44353 * gfortran.dg/data_implied_do_2.f03 : Remove. From-SVN: r162294
This commit is contained in:
parent
3b05770fed
commit
44c9c01f8f
3 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-07-19 Paul Thomas <pault@gcc.gnu.org>
|
||||
|
||||
PR fortran/44353
|
||||
* match.c (gfc_match_iterator): Reverted.
|
||||
|
||||
2010-07-18 Paul Thomas <pault@gcc.gnu.org>
|
||||
|
||||
PR fortran/44353
|
||||
|
|
|
@ -978,6 +978,13 @@ gfc_match_iterator (gfc_iterator *iter, int init_flag)
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
if (var->symtree->n.sym->attr.intent == INTENT_IN)
|
||||
{
|
||||
gfc_error ("Loop variable '%s' at %C cannot be INTENT(IN)",
|
||||
var->symtree->n.sym->name);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
gfc_match_char ('=');
|
||||
|
||||
var->symtree->n.sym->attr.implied_index = 1;
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2010-07-19 Paul Thomas <pault@gcc.gnu.org>
|
||||
|
||||
PR fortran/44353
|
||||
* gfortran.dg/data_implied_do_2.f03 : Removed.
|
||||
|
||||
2010-07-18 Paul Thomas <pault@gcc.gnu.org>
|
||||
|
||||
PR fortran/44353
|
||||
|
|
Loading…
Add table
Reference in a new issue