[patch, fortran, committed] Fix PR 50130

Thomas Koenig tkoenig@netcologne.de
Sun Aug 21 19:25:00 GMT 2011


Hello world,

I committed the attached patch as obvious after regression-testing.
Revision is 177940.

Will commit to 4.6 in a few days.

	Thomas

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 772 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110821/22719540/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: zero_stride_1.f90
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110821/22719540/attachment.f90>


More information about the Gcc-patches mailing list