]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/decl.c
re PR fortran/30554 ([4.1 only] ICE in mio_pointer_ref at module.c:1945)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 11 Feb 2007 20:58:48 +0000 (20:58 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 11 Feb 2007 20:58:48 +0000 (20:58 +0000)
commitdcdc7b6c9d3b3d0170cfeed1d4ebe5d84b73b346
tree97afc311a32371e5a733bcc5f86550b0ef6fcc6f
parentba139ba8b7f96b2f1867945d8cec54a99239d31a
re PR fortran/30554 ([4.1 only] ICE in mio_pointer_ref at module.c:1945)

2007-02-11  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30554
* module.c (find_symtree_for_symbol): New function to return
a symtree that is not a "unique symtree" given a symbol.
(read_module): Do not automatically set pointer_info to
referenced because this inhibits the generation of a unique
symtree.  Recycle the existing symtree if possible by calling
find_symtree_for_symbol.

PR fortran/30319
* decl.c (add_init_expr_to_sym): Make new charlen for an array
constructor initializer.

2007-02-11  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30554
* gfortran.dg/used_dummy_types_6.f90: Add the "privatized"
versions of the modules.

PR fortran/30617
* gfortran.dg/intrinsic_actual_2.f90: Make this legal fortran
by getting rid of recursive I/O and providing functions with
results.

PR fortran/30319
* gfortran.dg/char_array_constructor_2.f90

From-SVN: r121824
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/char_array_constructor_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/intrinsic_actual_2.f90
gcc/testsuite/gfortran.dg/used_dummy_types_6.f90