This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50585] [4.6/4.7 Regression] ICE with assumed length character array argument


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50585

--- Comment #9 from janus at gcc dot gnu.org 2011-10-07 21:01:06 UTC ---
Author: janus
Date: Fri Oct  7 21:01:02 2011
New Revision: 179696

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179696
Log:
2011-10-07  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/50585
    * interface.c (get_expr_storage_size): Check if 'length' component is
    associated.

    PR fortran/50625
    * class.c (gfc_build_class_symbol): Fix whitespace.
    * module.c (mio_symbol): Set 'class_ok' attribute.
    * trans-decl.c (gfc_get_symbol_decl): Make sure the backend_decl has
    been built for class symbols.


2011-10-07  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/50585
    * gfortran.dg/assumed_charlen_arg_2.f90: New.

    PR fortran/50625
    * gfortran.dg/class_46.f03: New.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/assumed_charlen_arg_2.f90
    branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/class_46.f03
Modified:
    branches/gcc-4_6-branch/gcc/fortran/ChangeLog
    branches/gcc-4_6-branch/gcc/fortran/class.c
    branches/gcc-4_6-branch/gcc/fortran/interface.c
    branches/gcc-4_6-branch/gcc/fortran/module.c
    branches/gcc-4_6-branch/gcc/fortran/trans-decl.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]