This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18883] ICE in gfc_finish_var_decl
- From: "eedelman at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2005 22:43:49 -0000
- Subject: [Bug fortran/18883] ICE in gfc_finish_var_decl
- References: <bug-18883-9515@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from eedelman at gcc dot gnu dot org 2005-10-30 22:43 -------
Subject: Bug 18883
Author: eedelman
Date: Sun Oct 30 22:43:45 2005
New Revision: 106254
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106254
Log:
fortran/
2005-10-30 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/18883
* trans-decl.c (gfc_finish_var_decl): Add decl to the
current function, rather than the parent. Make
assertion accept fake result variables.
* trans-expr.c (gfc_conv_variable): If the character
length of an ENTRY isn't set, get the length from
the master function instead.
testsuite
2005-10-30 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/18883
* gfortran.dg/char_result_9.f90: New.
* gfortran.dg/char_result_10.f90: New.
Added:
trunk/gcc/testsuite/gfortran.dg/char_result_10.f90
trunk/gcc/testsuite/gfortran.dg/char_result_9.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-decl.c
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18883