re PR fortran/57798 (Incorrect handling of sum over first dimension of a product...
authorMikael Morin <mikael@gcc.gnu.org>
Fri, 23 Aug 2013 17:49:39 +0000 (17:49 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Fri, 23 Aug 2013 17:49:39 +0000 (17:49 +0000)
commit1f65468a21f11bd37091860a939c56e0a99222d6
tree04d4e4db6912a0a62a0e817c0291108fd5ad5963
parent4f7395ffa13bb498c010aad0f08d137a7f766a1d
re PR fortran/57798 (Incorrect handling of sum over first dimension of a product of automatic arrays)

fortran/
PR fortran/57798
* trans-array.c (gfc_conv_ss_startstride, set_loop_bounds,
gfc_set_delta): Generate preliminary code before the outermost loop.

testsuite/
PR fortran/57798
* gfortran.dg/inline_sum_5.f90: New.

From-SVN: r201947
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/inline_sum_5.f90 [new file with mode: 0644]