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/51993] Erroneous type component initialization leads to internal compiler error


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

--- Comment #8 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Oct 30 18:27:14 2015
New Revision: 229596

URL: https://gcc.gnu.org/viewcvs?rev=229596&root=gcc&view=rev
Log:
2015-10-30  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/51993
        * decl.c (gfc_set_constant_character_len): Convert gcc_assert into an
        if-statement causing an early return leads to valid error message.

2015-10-30  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/51993
        * gfortran.dg/pr51993.f90: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr51993.f90
Modified:
    branches/gcc-5-branch/gcc/fortran/ChangeLog
    branches/gcc-5-branch/gcc/fortran/decl.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]