This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch,fortran] PR32928 DATA statement with array element as initializer is rejected
Jerry DeLisle wrote:
> Tobias Burnus wrote:
>> The test case comes from Polyhedron's aermod.f90:
>>
>> IMPLICIT NONE
>> INTEGER , PARAMETER :: NTAB = 3
>> REAL :: SR(NTAB) , SR3(NTAB)
>> DATA SR/NTAB*0.0/ , SR3/NTAB*0.0/
>> end
>>
>> Tobias
>>
> Attached is a revised patch. Regression tested on x86-64. I also
> compiled all of the Polyhedron test cases, NIST, and LAPACK.
> OK for trunk?
OK with the data_array_2.f90 and data_array_3.f90 test cases and a test
based on the code snippet above.
Thanks for the patch,
Tobias