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/50130] [4.6/4.7 Regression] ICE with invalid array slice


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50130

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-08-21 12:02:16 UTC ---
Author: tkoenig
Date: Sun Aug 21 12:02:12 2011
New Revision: 177940

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177940
Log:
2011-08-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/50130
    * resolve.c (resolve_array_ref):  Don't calculate upper bound
    if the stride is zero.

2011-08-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/50130
    * gfortran.dg/zero_stride_1.f90:  New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/zero_stride_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


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