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/66911] ICE on allocate character with source as a derived type component


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66911

--- Comment #8 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Mon Apr  4 09:47:47 2016
New Revision: 234712

URL: https://gcc.gnu.org/viewcvs?rev=234712&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:

2016-04-04  Andre Vehreschild  <vehre@gmx.de>

        PR fortran/66911
        * trans-stmt.c (gfc_trans_allocate): Get the deferred length of an
        expression by converting the expression when the length is not set
        in the symbol's ts.

gcc/testsuite/ChangeLog:

2016-04-04  Andre Vehreschild  <vehre@gmx.de>

        PR fortran/66911
        * gfortran.dg/deferred_character_16.f90: New test.



Added:
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/deferred_character_16.f90
Modified:
    branches/gcc-5-branch/gcc/fortran/ChangeLog
    branches/gcc-5-branch/gcc/fortran/trans-stmt.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

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