This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/70870] Segmentation violation in gfc_assign_data_value
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 May 2018 17:32:59 +0000
- Subject: [Bug fortran/70870] Segmentation violation in gfc_assign_data_value
- Auto-submitted: auto-generated
- References: <bug-70870-4@http.gcc.gnu.org/bugzilla/>
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