This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/85981] ICE in gfc_trans_string_copy, at fortran/trans-expr.c:6539
- 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: Mon, 04 Jun 2018 15:55:20 +0000
- Subject: [Bug fortran/85981] ICE in gfc_trans_string_copy, at fortran/trans-expr.c:6539
- Auto-submitted: auto-generated
- References: <bug-85981-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85981
--- Comment #6 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Jun 4 15:54:48 2018
New Revision: 261154
URL: https://gcc.gnu.org/viewcvs?rev=261154&root=gcc&view=rev
Log:
2018-06-04 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85981
* resolve.c (resolve_allocate_deallocate): Check errmsg is default
character kind.
2018-06-04 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85981
* gfortran.dg/allocate_alloc_opt_14.f90: New test.
* gfortran.dg/allocate_alloc_opt_1.f90: Update error string.
* gfortran.dg/allocate_stat_2.f90: Ditto.
* gfortran.dg/deallocate_alloc_opt_1.f90: Ditto.
Added:
trunk/gcc/testsuite/gfortran.dg/allocate_alloc_opt_14.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/allocate_alloc_opt_1.f90
trunk/gcc/testsuite/gfortran.dg/allocate_stat_2.f90
trunk/gcc/testsuite/gfortran.dg/deallocate_alloc_opt_1.f90