This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30319] [4.2 and 4.1 only] internal error in gfc_resolve_expr() for character parameter
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2007 17:17:11 -0000
- Subject: [Bug fortran/30319] [4.2 and 4.1 only] internal error in gfc_resolve_expr() for character parameter
- References: <bug-30319-9647@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pault at gcc dot gnu dot org 2007-02-17 17:17 -------
Subject: Bug 30319
Author: pault
Date: Sat Feb 17 17:16:56 2007
New Revision: 122074
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122074
Log:
2007-02-17 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, if the symbol has a namespace, because this
inhibits the generation of a unique symtree. Recycle the
symtree if possible by calling find_symtree_for_symbol. If a
symbol is excluded by an ONLY clause, check to see if there is
a symtree already loaded. If so, attach the symtree to the
pointer_info.
PR fortran/30319
* decl.c (add_init_expr_to_sym): Make new charlen for an array
constructor initializer.
2007-02-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30554
* gfortran.dg/used_dummy_types_6.f90: New test.
* gfortran.dg/used_dummy_types_7.f90: New test..
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
Added:
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/char_array_constructor_2.f90
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/used_dummy_types_6.f90
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/used_dummy_types_7.f90
Modified:
branches/gcc-4_2-branch/gcc/fortran/ChangeLog
branches/gcc-4_2-branch/gcc/fortran/decl.c
branches/gcc-4_2-branch/gcc/fortran/module.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/intrinsic_actual_2.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30319