re PR fortran/32088 (ICE (doesn't occur if given function standalone instead on inter...
authorTobias Burnus <burnus@gcc.gnu.org>
Sun, 27 May 2007 21:24:48 +0000 (23:24 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Sun, 27 May 2007 21:24:48 +0000 (23:24 +0200)
commitc2de0c194e27767937fe5fbae12aa96638768c4c
tree44d4899ece2a7f09a5f6ba1d7b653a90f7a1c394
parentbcb2d7014243ff98890679761404ba7648c98450
re PR fortran/32088 (ICE (doesn't occur if given function standalone instead on internal))

fortran/
2007-05-27 Paul Thomas  <pault@gcc.gnu.org>
   Tobias Burnus  <burnus@net-b.de>

PR fortran/32088
* symbol.c (gfc_check_function_type): Copy dimensions of
  result variable.
* resolve.c (resolve_contained_fntype): Improve symbol output in
    the error message.

testsuite/
2007-05-27  Tobias Burnus  <burnus@net-b.de>

PR fortran/32088
* gfortran.dg/func_result_3.f90: New.

-- Diese und die falgenden Zeilen werden ignoriert --

M    gcc/testsuite/ChangeLog
A    gcc/testsuite/gfortran.dg/func_result_3.f90
M    gcc/fortran/symbol.c
M    gcc/fortran/ChangeLog
M    gcc/fortran/resolve.c

From-SVN: r125118
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/func_result_3.f90 [new file with mode: 0644]