]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/21977 (nested function returning array)
authorAndrew Pinski <pinskia@physics.uc.edu>
Mon, 9 Jan 2006 19:36:35 +0000 (19:36 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Mon, 9 Jan 2006 19:36:35 +0000 (11:36 -0800)
commit90b2f8b64066bfe6fdf6d67e13dde628548e82f8
tree2007556757caa082b13e896e38da28021cc823ae
parent487bf3e6703d3dd2b092f79bf52da5904176f953
re PR fortran/21977 (nested function returning array)

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.

From-SVN: r109503
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/nesting_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/nesting_3.f90 [new file with mode: 0644]