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/70870] Segmentation violation in gfc_assign_data_value


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

--- Comment #11 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri May 11 17:32:28 2018
New Revision: 260171

URL: https://gcc.gnu.org/viewcvs?rev=260171&root=gcc&view=rev
Log:
2018-05-11  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/70870
        Backport from trunk
        * data.c (gfc_assign_data_value): Check that a data object does
        not also have default initialization.

2018-05-11  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/70870
        Backport from trunk
        * gfortran.dg/pr70870_1.f90: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr70870_1.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/data.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

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