]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/18883 (ICE in gfc_finish_var_decl)
authorErik Edelmann <eedelman@gcc.gnu.org>
Sun, 30 Oct 2005 22:43:45 +0000 (22:43 +0000)
committerErik Edelmann <eedelman@gcc.gnu.org>
Sun, 30 Oct 2005 22:43:45 +0000 (22:43 +0000)
commitd48734ef2097ddc561d94a580fc953ee96ce64e9
tree102686eae7993678eeae05f49c9be9da67cf827f
parent097588e4e451fa245febe7d8e8d70e93c4ec7cf4
re PR fortran/18883 (ICE in gfc_finish_var_decl)

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.

From-SVN: r106254
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/char_result_10.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/char_result_9.f90 [new file with mode: 0644]
This page took 0.054412 seconds and 5 git commands to generate.