[Bug fortran/21977] nested function returning array

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 9 19:46:00 GMT 2006



------- Comment #8 from pinskia at gcc dot gnu dot org  2006-01-09 19:46 -------
Subject: Bug 21977

Author: pinskia
Date: Mon Jan  9 19:46:23 2006
New Revision: 109504

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109504
Log:
2006-01-09  Andrew Pinski  <pinskia@physics.uc.edu>

        PR fortran/21977
        * gfortran.dg/nesting_2.f90: New test.
        * gfortran.dg/nesting_3.f90: New test.

2006-01-09  Andrew Pinski  <pinskia@physics.uc.edu>

        PR fortran/21977
        * trans-decl.c (gfc_generate_function_code): Move the NULLing of
        current_fake_result_decl down to below generate_local_vars.



Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/nesting_2.f90
      - copied unchanged from r109503,
trunk/gcc/testsuite/gfortran.dg/nesting_2.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/nesting_3.f90
      - copied unchanged from r109503,
trunk/gcc/testsuite/gfortran.dg/nesting_3.f90
Modified:
    branches/gcc-4_1-branch/gcc/fortran/ChangeLog
    branches/gcc-4_1-branch/gcc/fortran/trans-decl.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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




More information about the Gcc-bugs mailing list