This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66380] ICE for intrinsic reshape with insufficient number of array elements
- 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: Tue, 02 Jun 2015 23:02:36 +0000
- Subject: [Bug fortran/66380] ICE for intrinsic reshape with insufficient number of array elements
- Auto-submitted: auto-generated
- References: <bug-66380-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66380
--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Tue Jun 2 23:02:05 2015
New Revision: 224049
URL: https://gcc.gnu.org/viewcvs?rev=224049&root=gcc&view=rev
Log:
2015-06-02 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/66380
* simplify.c (gfc_simplify_reshape): Convert assert into returning
NULL, which triggers an error condition.
2015-06-02 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/66380
* gfortran.dg/reshape_7.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/reshape_7.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/simplify.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog