re PR fortran/34861 (ICE in function with entry (and result?))
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 20 Jan 2008 16:58:15 +0000 (16:58 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 20 Jan 2008 16:58:15 +0000 (16:58 +0000)
commitf5d67ede42caa6e1442a4776a4929a8a96907caf
treedd7f7e6e4030beee514d48db62d509810015d5dd
parentbdf8f544b6775a6283d8f4cafcf50dd448e7be59
re PR fortran/34861 (ICE in function with entry (and result?))

2008-01-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34861
* resolve.c (resolve_entries): Do not do an array bounds check
if the result symbols are the same.

PR fortran/34854
* module.c (read_module) : Hide the symtree of the previous
version of the symbol if this symbol is renamed.

2008-01-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34784
* gfortran.dg/mapping_2.f90: Correct ubound expression for h4.

PR fortran/34861
* gfortran.dg/entry_array_specs_3.f90: New test.

PR fortran/34854
* gfortran.dg/use_rename_1.f90: New test.

From-SVN: r131679
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/entry_array_specs_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/mapping_2.f90
gcc/testsuite/gfortran.dg/use_rename_1.f90 [new file with mode: 0644]