This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

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



------- Comment #10 from mikael at gcc dot gnu dot org  2008-10-31 15:38 -------
Subject: Bug 35820

Author: mikael
Date: Fri Oct 31 15:37:17 2008
New Revision: 141496

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141496
Log:

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.


Added:
    trunk/gcc/testsuite/gfortran.dg/nested_forall_1.f
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]