[Bug fortran/35820] internal compiler error with nested FORALL

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 8 08:41:00 GMT 2008



------- Comment #13 from pault at gcc dot gnu dot org  2008-11-08 08:40 -------
Subject: Bug 35820

Author: pault
Date: Sat Nov  8 08:38:42 2008
New Revision: 141707

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141707
Log:
2008-11-08  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-11-08  Mikael Morin  <mikael.morin@tele2.fr>

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

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/nested_forall_1.f
Modified:
    branches/gcc-4_3-branch/gcc/fortran/ChangeLog
    branches/gcc-4_3-branch/gcc/fortran/resolve.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35820



More information about the Gcc-bugs mailing list