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/72698] [5/6/7 Regression] ICE in lhd_incomplete_type_error, at langhooks.c:205


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

--- Comment #9 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Thu Aug 11 07:46:33 2016
New Revision: 239352

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

2016-08-11  Andre Vehreschild  <vehre@gcc.gnu.org>

        Backport from trunk:
        PR fortran/72698
        * gfortran.dg/allocate_with_source_20.f03: New test.


gcc/fortran/ChangeLog:

2016-08-11  Andre Vehreschild  <vehre@gcc.gnu.org>

        Backport from trunk:
        PR fortran/72698
        * trans-stmt.c (gfc_trans_allocate): Prevent generating code for
        copy of zero sized string and with it an ICE.


Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/allocate_with_source_20.f03
Modified:
    branches/gcc-6-branch/gcc/fortran/ChangeLog
    branches/gcc-6-branch/gcc/fortran/trans-stmt.c
    branches/gcc-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]