re PR fortran/41758 ([Cleanup] Don't resolve expr in gfc_match_allocate)
authorJanus Weil <janus@gcc.gnu.org>
Fri, 23 Oct 2009 11:01:38 +0000 (13:01 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 23 Oct 2009 11:01:38 +0000 (13:01 +0200)
commit8460475b4265e2a607acf6bc4bcf98bca5b38aba
treec73fa21fc6a447776ec7f36c2cb66d1bdcd615a5
parente25a8c821651fdd79282b769cba179d814835666
re PR fortran/41758 ([Cleanup] Don't resolve expr in gfc_match_allocate)

2009-10-23  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41758
* match.c (conformable_arrays): Move to resolve.c.
(gfc_match_allocate): Don't resolve SOURCE expr yet, and move some
checks to resolve_allocate_expr.
* resolve.c (conformable_arrays): Moved here from match.c.
(resolve_allocate_expr): Moved some checks here from gfc_match_allocate.
(resolve_code): Resolve SOURCE tag for ALLOCATE expressions.

From-SVN: r153494
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/fortran/resolve.c