[patch, fortran] Committed fix for PR 56782

Thomas Koenig tkoenig@netcologne.de
Mon Apr 8 19:39:00 GMT 2013


Hello world,

I committed the attached patch as obvious to fix the regression
with array constructors on trunk, after regression-testing.

Will commit to 4.8 next.

	Thomas

2013-04-08  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/56782
         * frontend-passes.c (callback_reduction):  Dont't do
         any simplification if there is only a single element
         which has an iterator.

2013-04-08  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/56782
         * gfortran.dg/array_constructor_44.f90:  New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p4.diff
Type: text/x-patch
Size: 638 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130408/7188e6a3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: array_constructor_44.f90
Type: text/x-fortran
Size: 325 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130408/7188e6a3/attachment-0001.bin>


More information about the Fortran mailing list