This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/68566] ICE on using unusable array in reshape (double free or corruption)
- 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: Sat, 30 Jul 2016 23:01:37 +0000
- Subject: [Bug fortran/68566] ICE on using unusable array in reshape (double free or corruption)
- Auto-submitted: auto-generated
- References: <bug-68566-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68566
--- Comment #15 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Jul 30 23:01:06 2016
New Revision: 238911
URL: https://gcc.gnu.org/viewcvs?rev=238911&root=gcc&view=rev
Log:
2016-07-30 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/68566
* check.c (gfc_check_reshape): Check for constant expression.
2016-07-30 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/68566
* gfortran.dg/pr68566.f90: new test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr68566.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/check.c
trunk/gcc/testsuite/ChangeLog