This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/68154] [5/6 Regression] ICE on initializing character parameter array (explicit, implied)
- 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, 30 Oct 2015 17:00:55 +0000
- Subject: [Bug fortran/68154] [5/6 Regression] ICE on initializing character parameter array (explicit, implied)
- Auto-submitted: auto-generated
- References: <bug-68154-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68154
--- Comment #8 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Oct 30 17:00:23 2015
New Revision: 229592
URL: https://gcc.gnu.org/viewcvs?rev=229592&root=gcc&view=rev
Log:
2015-10-30 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/68154
* decl.c (add_init_expr_to_sym): if the char length in the typespec
is NULL, check for and use a constructor.
2015-10-30 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/68154
* gfortran.dg/pr68154.f90
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr68154.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/decl.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog