[Bug fortran/83874] [6/7/8 Regression] ICE initializing character array from derived type

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 18 00:31:00 GMT 2018


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

--- Comment #8 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Jan 18 00:30:42 2018
New Revision: 256829

URL: https://gcc.gnu.org/viewcvs?rev=256829&root=gcc&view=rev
Log:
2018-01-17  Harald Anlauf  <anlauf@gmx.de>

        Backport from mainline
        PR fortran/83874
        * decl.c (add_init_expr_to_sym): Do not dereference NULL pointer.

2018-01-17  Harald Anlauf  <anlauf@gmx.de>

        Backport from mainline
        PR fortran/83874
        * gfortran.dg/pr83874.f90: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr83874.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/decl.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list