re PR fortran/31974 ([4.2]: array allocation multiplication of mismatched types)
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 19 May 2007 19:51:21 +0000 (19:51 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 19 May 2007 19:51:21 +0000 (19:51 +0000)
commit61f70bf208644b9b2f3b76ba9c324eb7c4a4cfa1
tree575373a2aa4da956c33fd765439fba98b08238bf
parente9d416168f5d1782664609c71972e41eb2523a21
re PR fortran/31974 ([4.2]: array allocation multiplication of mismatched types)

PR fortran/31974

* trans-array.c (gfc_trans_auto_array_allocation): Avoid
multiplication of mismatched types.

* gfortran.dg/char_allocation_1.f90: New test.

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