re PR fortran/51250 (Bug with SUM(,dim,mask))
authorMikael Morin <mikael@gcc.gnu.org>
Fri, 25 Nov 2011 20:18:21 +0000 (20:18 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Fri, 25 Nov 2011 20:18:21 +0000 (20:18 +0000)
commitf6a40ccda3f1177b1fed2c79f798b50bcf298d98
tree56b1c81ce6bff0117fad9c0e617304d4814f6478
parent9e08718a4ae1f5cafc67e890c5e1638454ec395f
re PR fortran/51250 (Bug with SUM(,dim,mask))

fortran/
PR fortran/51250
PR fortran/43829
* trans-array.c (gfc_trans_create_temp_array): Get dimension from
the right gfc_ss struct.

testsuite/
PR fortran/51250
PR fortran/43829
* gfortran.dg/inline_sum_3.f90: New test.

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