[multiple changes]
authorMikael Morin <mikael.morin@tele2.fr>
Fri, 31 Oct 2008 15:37:17 +0000 (16:37 +0100)
committerMikael Morin <mikael@gcc.gnu.org>
Fri, 31 Oct 2008 15:37:17 +0000 (15:37 +0000)
commit0e6834af18d539e4615be54eb2f9262898add8b4
treecc77f0252a3e696614d3c0628d79d9fdf56725e2
parent798c19f8557f4600cab847999a3f70a0ff3763f3
[multiple changes]

2008-10-31  Mikael Morin  <mikael.morin@tele2.fr>

PR fortran/35820
* resolve.c (gfc_count_forall_iterators): New function.
(gfc_resolve_forall): Use gfc_count_forall_iterators to evaluate
the needed memory amount to allocate. Don't forget to free allocated
memory.  Add an assertion to check for memory leaks.

2008-10-16  Mikael Morin  <mikael.morin@tele2.fr>

PR fortran/35820
* gfortran.dg/nested_forall_1.f: New test.

From-SVN: r141496
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/nested_forall_1.f [new file with mode: 0644]