This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/66380] ICE for intrinsic reshape with insufficient number of array elements


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]