This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/78239] [5/6/7 Regression] ICE in char_len_param_value, at fortran/decl.c:926, with -fimplicit-none
- From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Dec 2016 17:05:45 +0000
- Subject: [Bug fortran/78239] [5/6/7 Regression] ICE in char_len_param_value, at fortran/decl.c:926, with -fimplicit-none
- Auto-submitted: auto-generated
- References: <bug-78239-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78239
--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Thu Dec 22 17:05:13 2016
New Revision: 243891
URL: https://gcc.gnu.org/viewcvs?rev=243891&root=gcc&view=rev
Log:
2016-12-22 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/78239
* decl.c (char_len_param_value): Also check for -fimplicit-none
when determining if implicit none is in force.
2016-12-22 Thomas Koenig <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/78239
* gfortran.dg/fimplicit_none_1.f90: New test.
* gfortran.dg/fimplicit_none_2.f90: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/fimplicit_none_1.f90
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/fimplicit_none_2.f90
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/decl.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog